public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/28004] DW_AT_ranges with form DW_FORM_sec_offset problem
Date: Fri, 25 Jun 2021 12:47:08 +0000	[thread overview]
Message-ID: <bug-28004-4717-3yLD14WPBK@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28004-4717@http.sourceware.org/bugzilla/>

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

--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> ---
The warning is caused by the fact that the addr map for the CU starts at 0, due
to the DW_AT_entry_pc:
...
 <2><50bea>: Abbrev Number: 13 (DW_TAG_inlined_subroutine)
    <50beb>   DW_AT_abstract_origin: <0x50b99>
    <50bef>   DW_AT_entry_pc    : 0x0
    <50bf7>   DW_AT_GNU_entry_view: 0
    <50bf9>   DW_AT_ranges      : 0x3db4
    <50bfd>   DW_AT_call_file   : 1
    <50bfe>   DW_AT_call_line   : 64
    <50bff>   DW_AT_call_column : 9
    <50c00>   DW_AT_sibling     : <0x50c26>
...

Or, likewise, DW_AT_ranges:
...
0x00003db4: [DW_RLE_base_address]:  0x0000000000000000
0x00003dbd: [DW_RLE_offset_pair ]:  0x0000000000000000, 0x0000000000000007 =>
[0x0000000000000000, 0x0000000000000007)
0x00003dc0: [DW_RLE_offset_pair ]:  0x000000000000000b, 0x0000000000000018 =>
[0x000000000000000b, 0x0000000000000018)
0x00003dc3: [DW_RLE_end_of_list ]
...

Perhaps this is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99654 .

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

  parent reply	other threads:[~2021-06-25 12:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22  5:26 [Bug gdb/28004] New: " simark at simark dot ca
2021-06-22  5:26 ` [Bug gdb/28004] " simark at simark dot ca
2021-06-22  5:29 ` simark at simark dot ca
2021-06-25  7:03 ` vries at gcc dot gnu.org
2021-06-25 12:47 ` vries at gcc dot gnu.org [this message]
2021-06-25 14:23 ` vries at gcc dot gnu.org
2021-06-25 14:30 ` vries at gcc dot gnu.org
2021-06-25 21:40 ` vries at gcc dot gnu.org
2021-06-27 13:14 ` simark at simark dot ca
2021-07-26 16:17 ` vries at gcc dot gnu.org
2021-07-29 19:19 ` simark at simark dot ca
2021-07-29 21:27 ` vries at gcc dot gnu.org
2021-08-03 20:14 ` vries at gcc dot gnu.org
2021-08-04 14:19 ` vries at gcc dot gnu.org
2021-08-06 14:44 ` cvs-commit at gcc dot gnu.org
2021-08-06 16:02 ` cvs-commit at gcc dot gnu.org
2021-08-06 16:05 ` [Bug symtab/28004] " vries at gcc dot gnu.org

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=bug-28004-4717-3yLD14WPBK@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /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).