Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Jim Blandy <jimb@red-bean.com>
Cc: Mark Kettenis <mark.kettenis@xs4all.nl>, 	gdb-patches@sources.redhat.com
Subject: Re: [RFC/RFA/i386] pb reading insns if breakpoints still inserted
Date: Fri, 28 Apr 2006 21:54:00 -0000	[thread overview]
Message-ID: <20060428215449.GI930@adacore.com> (raw)
In-Reply-To: <8f2776cb0604281442m2f514240i9f86b4bfa38b1c33@mail.gmail.com>

> So you guys would like to push the deprecation boundary further the
> other way, and deprecate SKIP_PROLOGUE itself?  That's an idea.

I agree with idea, but in my humble opinion, it's premature. We're
still stuck with many platforms that are still in the dark ages and
don't provide the necessary frame info in the debugging info for us
to be able to correctly locate function arguments, unwind the call
stack, etc.

> I think the argument was that, in the long run, GCC should be emitting
> location lists so that the debugging information accurately describes
> the location of the arguments even within the prologues.  Setting a
> breakpoint on a function would actually set the breakpoint ... at the
> function's entry point.  We could delete SKIP_PROLOGUE altogether. 
> Then, there'd be no point in producing or consuming an "end of
> prologue" marker whose meaning is kind of vague anyway.

I agree, especially at higher levels of optimization, the notion
of prologue becomes fuzzier and fuzzier. But not all architectures
offer this level of information, and sometimes the system libraries
offer nothing at all but the symbol table.

-- 
Joel


  reply	other threads:[~2006-04-28 21:54 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-28 17:12 Joel Brobecker
2006-04-28 17:54 ` Jim Blandy
2006-04-28 18:40   ` Mark Kettenis
2006-04-28 18:48     ` Joel Brobecker
2006-04-28 20:58     ` Jim Blandy
2006-04-28 21:09       ` Mark Kettenis
2006-04-28 21:13         ` Daniel Jacobowitz
2006-04-28 21:42           ` Jim Blandy
2006-04-28 21:54             ` Joel Brobecker [this message]
2006-04-28 21:49           ` Joel Brobecker
2006-04-28 22:00             ` Jim Blandy
2006-04-29 14:20 ` Eli Zaretskii
2006-04-29 14:28   ` Daniel Jacobowitz
2006-04-29 14:51     ` Eli Zaretskii
2006-04-29 15:06       ` Daniel Jacobowitz
2006-04-29 16:57         ` Eli Zaretskii
2006-04-29 23:14           ` Daniel Jacobowitz
2006-05-01 16:36 ` Mark Kettenis
2006-05-01 17:06   ` Joel Brobecker
2006-05-05 18:16   ` Daniel Jacobowitz

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=20060428215449.GI930@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jimb@red-bean.com \
    --cc=mark.kettenis@xs4all.nl \
    /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