Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* multithreaded remote debugging
@ 2003-01-17 11:29 Frank van Eijkelenburg
  2003-01-17 13:54 ` Daniel Jacobowitz
  0 siblings, 1 reply; 10+ messages in thread
From: Frank van Eijkelenburg @ 2003-01-17 11:29 UTC (permalink / raw)
  To: Gnu Debugger mailing list

Hi, I'm new to gdb. I try to remote debug an application:

I have a linux machine with redhat installed (2.4.7-10), this is the host.
On the target an ARM processor is running with linux kernel 2.4.16. I
compiled gdb on the host (with target arm-linux). I also cross-compiled
gdbserver. My application (which I want to debug) is compiled with compiler
option -g. I can start the gdbserver on the target and gdb on the host and
have a connection by tcp/ip. The application is multithreaded and uses the
libpthread library. If I ignore the SIG32 signal (with "handle SIG32 nostop"
and "handle SIG32 noprint") I can run the application. However, if I try to
execute "info threads" I only get information about one thread (the main
thread??). I can put breakpoints in the main thread and step through the
code, but if I put a breakpoint in another thread, the debugger will stop,
but I cannot step through the code:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x400ab2e4 in ?? ()
(gdb) n
Cannot find bounds of current function

What do I wrong or is it not possible to step through the code of other
threads beside the main thread?
TIA

      Frank van Eijkelenburg
      System Designer

--------------------------------------------------------------------------

      Technolution B.V.
      Telephone:  +31(0)182 59 40 00
      Fax:  +31(0)182 53 97 36
      E-mail:
     frank.van.eijkelenburg@technolution.nl

      Visit us at:
     www.technolution.nl

      Mailing address:
     P.O. Box 2013 - 2800 BD Gouda - The Netherlands

      Address:
     Zuidelijk Halfrond 1 - 2801 DD Gouda - The Netherlands

      GPS:
     N 52º.00'58,2” O 4º.41'05,2”


--------------------------------------------------------------------------
      This e-mail is intended exclusively for the addressee(s), and may not
be passed on to, or made  available for use by any person other than the
addressee(s).  Technolution B.V. rules out any and every liability resulting
from any electronic transmission.





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

end of thread, other threads:[~2003-01-17 15:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 11:29 multithreaded remote debugging Frank van Eijkelenburg
2003-01-17 13:54 ` Daniel Jacobowitz
2003-01-17 14:09   ` Frank van Eijkelenburg
2003-01-17 14:14     ` Daniel Jacobowitz
2003-01-17 14:51       ` Frank van Eijkelenburg
2003-01-17 14:56         ` Daniel Jacobowitz
2003-01-17 15:09           ` Frank van Eijkelenburg
2003-01-17 15:17             ` Daniel Jacobowitz
2003-01-17 15:28               ` Frank van Eijkelenburg
2003-01-17 15:30                 ` Daniel Jacobowitz

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