Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: qinwei@sunnorth.com.cn
Cc: gdb@sourceware.org
Subject: Re: How to avoid "but contains no code." in command "info line"?
Date: Tue, 27 Mar 2007 11:16:00 -0000	[thread overview]
Message-ID: <20070327111627.GA15136@caradoc.them.org> (raw)
In-Reply-To: <OFF0EE9DA4.96D1CAE9-ON482572AB.00167B37-482572AB.0016BFD4@sunnorth.com.cn>

On Tue, Mar 27, 2007 at 12:08:26PM +0800, qinwei@sunnorth.com.cn wrote:
> Hi, I tested this on x86:
> 
> 1, compile & dump:
> gcc -o t -gstabs+ s2.s tp_bt1.c
> objdump -dhs t &>log1
> objdump -G t &>log2

You're using stabs.  Don't!  DWARF-2 works much better, especially for
strange ranges and multiple sections.  If it still happens with
DWARF-2 I can look into it, but I'm not interested in trying to fix
this for stabs.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2007-03-27 11:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-23  7:22 qinwei
2007-03-23 11:58 ` Daniel Jacobowitz
2007-03-27  4:08   ` qinwei
2007-03-27 11:16     ` Daniel Jacobowitz [this message]
2007-03-28  2:46       ` qinwei

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=20070327111627.GA15136@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=qinwei@sunnorth.com.cn \
    /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