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 compiled gdb-6.6 and then successfully run it in board, but the result is the same.


gdbserver :9988 prog

can get the backtrace.

but attach to itself can't get the backtrace, anyone encounter similar case?


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