GDB Remote Debugging Problem

Jim Blandy jimb@redhat.com
Fri Oct 31 22:27:00 GMT 2003


That certainly doesn't sound like normal behavior.

But unless we can reproduce the problem ourselves, we can't do much
about it.  I suspect there's some problem with your stub.  When you
say "set debug remote 1", does it seem to be doing all the right things?

"Kiran Chandrashekaran, Nair (IE10)" <Kiran.Nair@honeywell.com> writes:

> Hi all,
> 
> I have a gdb stub,running on my target.
> I am able to connect to the target through TCP and debug 
> my debug from the host.
> 
> My Problem is 
> 1. I get a SIGTRAP received message for every function call,
>    even if I am not stepping into the function or have not set a breakpoint
> in
>    the function.
>    I get the SRC_AND_LOC message always,when ideally I should only the
>   the SRC_LINE displayed.
>   eg: When I step through a function foo() in function xyz() I get
> 
>       xyx () at xyz.c:78
>         
> 2. Also when a breakpoint is hit ,The don't get the Breakpoint number 
>    displayed.
>    I get the SRC_AND_LOC displayed,but no breakpoint info.
> 
> What could be the problem.
> I am using gdb 6.0 configured for i386-elf on cygwin
> 
> Could anything be possibily wrong with my gdb stub,which is
> derived from the basic gdb stub.
> 
> Thanks
> Kiran



More information about the Gdb mailing list