Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Bin Chen <binary.chen@gmail.com>
To: Bin Chen <binary.chen@gmail.com>,  gdb@sourceware.org
Subject: Re: attach gdbserver to itself
Date: Thu, 25 Jan 2007 02:12:00 -0000	[thread overview]
Message-ID: <45B811F1.9000300@gmail.com> (raw)
In-Reply-To: <20070124132705.GA5106@nevyn.them.org>

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?


  reply	other threads:[~2007-01-25  2:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-24 12:48 Bin Chen
2007-01-24 12:51 ` Daniel Jacobowitz
2007-01-24 12:56   ` Bin Chen
2007-01-24 13:05     ` Daniel Jacobowitz
2007-01-24 13:20       ` Bin Chen
2007-01-24 13:27         ` Daniel Jacobowitz
2007-01-25  2:12           ` Bin Chen [this message]
2007-01-25  2:29           ` Bin Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45B811F1.9000300@gmail.com \
    --to=binary.chen@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox