Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: gcc-patches@gcc.gnu.org, gdb@sources.redhat.com
Subject: Re: RFA: Line number fix for prologues
Date: Fri, 16 Jan 2004 20:12:00 -0000	[thread overview]
Message-ID: <20040116201238.GD26740@redhat.com> (raw)
In-Reply-To: <20040116153601.GA28489@nevyn.them.org>

On Fri, Jan 16, 2004 at 10:36:01AM -0500, Daniel Jacobowitz wrote:
> My silly question is, does that emit_nop () even serve any purpose?  I
> imagine it was there to make the loop optimizer happy once upon a time ...

Actually, I think it's for debugging.  Certainly the loop optimizer
won't care one way or the other.  If you can show that gdb works as
well or better without that nop (both dwarf and stabs) then I think
that's ample reason to remove it.

> 	* final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
> 	(final_scan_insn): Update to take an additional SEEN argument.  Emit
> 	a line note after the prologue.  Make static.
> 	(line_note_exists): Remove.
> 	(final): Don't initialize line_note_exists.  Update call to
> 	final_scan_insn.
> 	* output.h (final_scan_insn): Remove prologue.
> 	* function.c (set_insn_locators): Update comment.
> 	(thread_prologue_and_epilogue_insns): Add a comment.

Ok.


r~


  reply	other threads:[~2004-01-16 20:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-16 15:36 Daniel Jacobowitz
2004-01-16 20:12 ` Richard Henderson [this message]
2004-01-22 18:48   ` Daniel Jacobowitz
2004-01-22 20:04     ` Richard Henderson

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=20040116201238.GD26740@redhat.com \
    --to=rth@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb@sources.redhat.com \
    /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