This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbserver(ppc) segv on continue from gdb(x86) - v6.0


Yeah. They look correct. I used the solib-absolute-prefix to point to the correct ppc lib.

The host gdb is a native gdb configured with
./configure --target=powerpc-linux --build=i686-pc-linux-gnu

Trying to debug why gdbserver segv, I ran "gdb gdbserver", "run :xxxx foo".
But doing do gdbserver runs happily. And remote debugging is possible.

I did strace on "gdb gdbserver" and "gdbserver :xxx foo". They all load the same lib. So lib should be ok here.

Daniel Jacobowitz wrote:

On Fri, Feb 20, 2004 at 05:14:05PM -0800, Albert Ho wrote:


Is there a race condition in gdbserver in fetching thread info?



Not that I know of. You've doublechecked that host GDB loaded the right libpthread.so, right?






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]