Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gdb / gdbserver 6.8 does not stop at breakpoint since buildroot 2010.05
@ 2010-09-02 15:22 Will Moore
  2010-09-10  8:20 ` [Buildroot] gdb / gdbserver 6.8 does not stop at breakpoint sincebuildroot 2010.05 Will Moore
  0 siblings, 1 reply; 2+ messages in thread
From: Will Moore @ 2010-09-02 15:22 UTC (permalink / raw)
  To: buildroot

With 2009.08, 2009.11 and 2010.02 releases I have been able to successfully
use the buildroot built host gdb to remotely debug applications on a
buildroot built system running gdbserver.  However since 2010.05 release
(same with 2010.08) while gdb will talk to gdbserver it does not stop at
breakpoints and the application being debugged on the target just runs.  I
have been using gdb from within Eclipse however I can also see this from the
command line gdb:

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) show sysroot
The current system root is
"/home/apmdev/dx/buildroot-2010.08/output/staging/".
(gdb) break main
Breakpoint 1 at 0x8048739: file ../main.c, line 6.
(gdb) target remote 192.9.200.98:2345
Remote debugging using 192.9.200.98:2345
[New Thread 1213]
0xb7776828 in _start ()
   from /home/apmdev/dx/buildroot-2010.08/output/staging/lib/ld-uClibc.so.0
(gdb) continue
Continuing.

And that is it, it never stops at the breakpoint ... no errors are given.
The target gdbserver at this point just runs the application.

For the host gdb I am running /output/toolchain/gdbhost6.8/gdb/gdb.  I have
used a .gdbinit file that contains only the single line "set sysroot
/home/apmdev/dx/buildroot-2010.08/output/staging/".

I assume nobody else is having this problem?

I appreciate that lots of stuff changes between releases e.g. kernel
versions, gcc versions, various packages etc however I could not see
anything obvious in the mailing list to do with the gdb.

I have hit a dead end on this so any suggestions of things to try would be
appreciated!
 
Regards,



Will

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-10  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-02 15:22 [Buildroot] gdb / gdbserver 6.8 does not stop at breakpoint since buildroot 2010.05 Will Moore
2010-09-10  8:20 ` [Buildroot] gdb / gdbserver 6.8 does not stop at breakpoint sincebuildroot 2010.05 Will Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox