This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb-6.0/gdb/gdbserver/target.c::set_desired_inferior()
- From: Albert Ho <alberth at intellambda dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 26 Feb 2004 19:22:59 -0800
- Subject: gdb-6.0/gdb/gdbserver/target.c::set_desired_inferior()
Should gdb-6.0/gdb/gdbserver/target.c::set_desired_inferior() always
succeed when dealing with 's' in main?
I run into a problem when a thread is not found in
set_desired_inferior(), causing &status to become some bogus addr and
hence gdbserve segv.
Thanks