attach gdbserver to itself
Bin Chen
binary.chen@gmail.com
Thu Jan 25 02:12:00 GMT 2007
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?
More information about the Gdb
mailing list