public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/17265] New: Handle DW_LNS_set_prologue_end
@ 2014-08-13 21:40 dje at google dot com
  2023-01-30 13:31 ` [Bug symtab/17265] " vries at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dje at google dot com @ 2014-08-13 21:40 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17265

            Bug ID: 17265
           Summary: Handle DW_LNS_set_prologue_end
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

Both gcc and clang can emit DW_LNS_set_prologue_end now.

We should either use it or choose to not to and document in the source code why
that is so.

There is also DW_LNS_set_epilogue_begin and DW_LNS_set_isa from dwarf3 (ref:
src/include/dwarf2.h).  This pr is specifically about just
DW_LNS_set_prologue_end.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug symtab/17265] Handle DW_LNS_set_prologue_end
  2014-08-13 21:40 [Bug symtab/17265] New: Handle DW_LNS_set_prologue_end dje at google dot com
@ 2023-01-30 13:31 ` vries at gcc dot gnu.org
  2023-01-30 16:03 ` vries at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2023-01-30 13:31 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17265

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to dje from comment #0)
> Both gcc and clang can emit DW_LNS_set_prologue_end now.
> 

About gcc: there two modes to generate line table info:
- -gno-as-loc-support: emit .debug_lines section contribution
- -gas-loc-support: emit .loc directives (the default)

For the first one, gcc does known about DW_LNS_set_prologue_end, and is ready
to emit it, if generated.

Likewise, for the second one, gas knows about the prologue_end option to the
.loc directive, and is ready to handle it.

But gcc doesn't seem to trigger either one of these paths.  All we have is the
comment in dwarf2out_source_line:
...
     ...  For Dwarf3, we ought to include the DW_LNS_set_prologue_end mark in
     that second line number entry.  */
...

I've filed a gcc PR about this:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108600 .

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug symtab/17265] Handle DW_LNS_set_prologue_end
  2014-08-13 21:40 [Bug symtab/17265] New: Handle DW_LNS_set_prologue_end dje at google dot com
  2023-01-30 13:31 ` [Bug symtab/17265] " vries at gcc dot gnu.org
@ 2023-01-30 16:03 ` vries at gcc dot gnu.org
  2023-01-30 16:06 ` vries at gcc dot gnu.org
  2023-01-30 23:40 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2023-01-30 16:03 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17265

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lsix at lancelotsix dot com

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
I think btw that this PR is fixes by commit cc96ae7f883 ("gdb: Add support for
DW_LNS_set_prologue_end in line-table").

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug symtab/17265] Handle DW_LNS_set_prologue_end
  2014-08-13 21:40 [Bug symtab/17265] New: Handle DW_LNS_set_prologue_end dje at google dot com
  2023-01-30 13:31 ` [Bug symtab/17265] " vries at gcc dot gnu.org
  2023-01-30 16:03 ` vries at gcc dot gnu.org
@ 2023-01-30 16:06 ` vries at gcc dot gnu.org
  2023-01-30 23:40 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2023-01-30 16:06 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17265

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simark at simark dot ca,
                   |                            |tromey at sourceware dot org

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Propose to close with milestone 13.1

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug symtab/17265] Handle DW_LNS_set_prologue_end
  2014-08-13 21:40 [Bug symtab/17265] New: Handle DW_LNS_set_prologue_end dje at google dot com
                   ` (2 preceding siblings ...)
  2023-01-30 16:06 ` vries at gcc dot gnu.org
@ 2023-01-30 23:40 ` tromey at sourceware dot org
  3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-01-30 23:40 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=17265

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.1
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Tom de Vries from comment #3)
> Propose to close with milestone 13.1

IMO it's fine to just close bugs if you think they're fixed.
Someone can always reopen them if they think there's some issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-30 23:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13 21:40 [Bug symtab/17265] New: Handle DW_LNS_set_prologue_end dje at google dot com
2023-01-30 13:31 ` [Bug symtab/17265] " vries at gcc dot gnu.org
2023-01-30 16:03 ` vries at gcc dot gnu.org
2023-01-30 16:06 ` vries at gcc dot gnu.org
2023-01-30 23:40 ` tromey at sourceware dot org

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).