Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Tweaking commands that eclipse sends to gdb
Tweaking commands that eclipse sends to gdb [message #71355] Fri, 23 May 2003 18:06 Go to next message
Eclipse UserFriend
Originally posted by: pbaranov.ubicom.com

The gdb commands that eclipse uses when a debug session gets started
doesn't work with my embedded target. I need to tweak this sequence of
commands but can't figure out where it is coded. Can anybody point me to
the right place.

Regards,
Pavel
Re: Tweaking commands that eclipse sends to gdb [message #71413 is a reply to message #71355] Sun, 25 May 2003 12:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

What exactly do you want to change? You can use .gdbinit file to add
commands to the starting sequence.

"Pavel" <pbaranov@ubicom.com> wrote in message
news:bam61o$dnj$1@rogue.oti.com...
> The gdb commands that eclipse uses when a debug session gets started
> doesn't work with my embedded target. I need to tweak this sequence of
> commands but can't figure out where it is coded. Can anybody point me to
> the right place.
>
> Regards,
> Pavel
>
>
Re: Tweaking commands that eclipse sends to gdb [message #71431 is a reply to message #71355] Sun, 25 May 2003 14:54 Go to previous messageGo to next message
Eclipse UserFriend
in package org.eclipse.cdt.debug.mi.core.command, the class CommandFactory
creates command sent to gdb.

"Pavel" <pbaranov@ubicom.com> wrote in message
news:bam61o$dnj$1@rogue.oti.com...
> The gdb commands that eclipse uses when a debug session gets started
> doesn't work with my embedded target. I need to tweak this sequence of
> commands but can't figure out where it is coded. Can anybody point me to
> the right place.
>
> Regards,
> Pavel
>
>
Re: Tweaking commands that eclipse sends to gdb [message #71718 is a reply to message #71413] Tue, 27 May 2003 13:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pbaranov.ubicom.com

Mikhail Khodjaiants wrote:

> What exactly do you want to change? You can use .gdbinit file to add
> commands to the starting sequence.

I need to change:

target-select remote ip:port

to:

target ip2k ip:port


Regards,
Pavel



> "Pavel" <pbaranov@ubicom.com> wrote in message
> news:bam61o$dnj$1@rogue.oti.com...
> > The gdb commands that eclipse uses when a debug session gets started
> > doesn't work with my embedded target. I need to tweak this sequence of
> > commands but can't figure out where it is coded. Can anybody point me to
> > the right place.
> >
> > Regards,
> > Pavel
> >
> >
Re: Tweaking commands that eclipse sends to gdb [message #71756 is a reply to message #71718] Tue, 27 May 2003 14:23 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

You can do it by changing the "createLaunchSession" method of the
"org.eclipse.cdt.debug.mi.core.GDBServerDebugger" class.

"Pavel" <pbaranov@ubicom.com> wrote in message
news:bb08av$c72$1@rogue.oti.com...
> Mikhail Khodjaiants wrote:
>
> > What exactly do you want to change? You can use .gdbinit file to add
> > commands to the starting sequence.
>
> I need to change:
>
> target-select remote ip:port
>
> to:
>
> target ip2k ip:port
>
>
> Regards,
> Pavel
>
>
>
> > "Pavel" <pbaranov@ubicom.com> wrote in message
> > news:bam61o$dnj$1@rogue.oti.com...
> > > The gdb commands that eclipse uses when a debug session gets started
> > > doesn't work with my embedded target. I need to tweak this sequence of
> > > commands but can't figure out where it is coded. Can anybody point me
to
> > > the right place.
> > >
> > > Regards,
> > > Pavel
> > >
> > >
>
>
>
>
>
Previous Topic:Functions in extern blocks not parsed?
Next Topic:Code Assist: Fact or Fantasy
Goto Forum:
  


Current Time: Sat Jul 05 12:38:26 EDT 2025

Powered by FUDForum. Page generated in 0.11063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top