[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdb/gdbserver breaks execution in shared library routines
From: |
David Arnstein |
Subject: |
gdb/gdbserver breaks execution in shared library routines |
Date: |
Mon, 9 Jun 2003 18:09:03 -0700 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gdb/gdbserver breaks execution in shared library routines,
David Arnstein <=