gdb/gdbserver breaks execution in shared library routines
"David Arnstein" <[email protected]> Mon, 9 Jun 2003 18:09:03 -0700
| Newsgroups | gmane.comp.gdb.bugs.general |
|---|---|
| Message-ID | <[email protected]> |
I'm using gdb/gdbserver to debug a program that uses Linux shared libraries.
If I use the gdb "next" command, and this command causes program execution
to pass through a shared library, then gdb will break execution. This is
very inconvenient! I don't have source for the shared libraries, anyway.
Right after I type the "next" command, I have to type the "finish" command.
Details:
I compiled gdbserver to run on MIPSel platform. I downloaded the latest
version of gdb and compiled gdbserver from that distribution. The program
being debugged runs on an embedded MIPSel platform, along with gdb.
I compiled gdb itself on an X86/Linux platform. I compiled it to understand
MIPSel architecture. Again, I compiled from the lastest gdb sources. The
"show version" command yields
This GDB was configured as
"--host=i686-pc-linux-gnu --target=mipsel-broadcom-linux"
Is there a work-around for this? I don't want gdb to break program
execution whenever it executes code in a shared library.
D.A.