This is the mail archive of the gdb@sourceware.org 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: attach gdbserver to itself


Daniel Jacobowitz wrote:
On Wed, Jan 24, 2007 at 09:20:05PM +0800, Bin Chen wrote:
But I can do get the backtrace if I running the program through gdbserver, not dynamic attach when fault.

That's probably because you aren't inside a called signal handler in that case.

Anyway, I will try to compile 6.6 to ARM platform, is it supported in the release?

Yes, but you will have to set solib-absolute-prefix by hand or compile
it using --with-sysroot (see the manual).

I know what happens now. Seems gdb need unstripped libc-2.3.2.so or other important libs. The libs in my device rootfs are stripped so it can't get the backtrace properly. After changing solib-absolute-prefix to another unstripped version , the gdb can work now...


Something weird is that why manully start prog by gdbserver can get the right result...


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