public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Lancelot SIX <Lancelot.Six@amd.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org, lsix@lancelotsix.com
Subject: Re: [PATCH 2/2] gdb: Add support for DW_LNS_set_prologue_end in line-table
Date: Fri, 18 Mar 2022 16:35:44 +0000	[thread overview]
Message-ID: <2360c522-d9db-90d3-d044-dd8f3435ca48@amd.com> (raw)
In-Reply-To: <83v8wbfg8b.fsf@gnu.org>

Hi,

Thanks for the feedbacks.  I have done the changes locally (see below).

>>
>> +* GDB now honours the DWARF prologue_end line-table entry flag the compiler can
>> +  emit to indicate where a breakpoint should be placed to break in a function
>> +  past its prologue.
> 
> Should we tell what user-visible effects will this have?

Yes, probably.  Sorry, I am usually unsure to what extent maint commands 
are documented / mentioned in NEWS entries.

I have added the following locally on top of the original patch:

diff --git a/gdb/NEWS b/gdb/NEWS 

index 89811219f59..ca3c2d13629 100644 

--- a/gdb/NEWS 

+++ b/gdb/NEWS 

@@ -127,6 +127,11 @@ show ada source-charset 

    values for this follow the values that can be passed to the GNAT 

    compiler via the '-gnati' option.  The default is ISO-8859-1. 

 

+maintenance info line-table 

+  Add a PROLOGUE-END column to the output which indicates that an 

+  entry corresponds to an address where a breakpoint should be placed 

+  to be at the first instruction past a function's prologue. 

+ 

  * Changed commands 

 

  print 



> 
> IS-STMT and PROLOGUE-END should be in @samp, not @var.  Those are
> literal headings of the columns, so @var is inappropriate for them.
> 
> Thanks

I did the changes locally.

I'll include those change in a V2, but will wait for other reviews on 
the patches before sending it.

Thanks,
Lancelot.

      reply	other threads:[~2022-03-18 16:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18 14:27 [PATCH 0/2] Add support for DWARF's prologue_end flag " Lancelot SIX
2022-03-18 14:27 ` [PATCH 1/2] gdb/buildsym: Line record use a record flag Lancelot SIX
2022-03-18 14:27 ` [PATCH 2/2] gdb: Add support for DW_LNS_set_prologue_end in line-table Lancelot SIX
2022-03-18 15:11   ` Eli Zaretskii
2022-03-18 16:35     ` Lancelot SIX [this message]

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=2360c522-d9db-90d3-d044-dd8f3435ca48@amd.com \
    --to=lancelot.six@amd.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=lsix@lancelotsix.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).