public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/31639] New: read_str_index error message hard codes section name
@ 2024-04-13 11:06 mark at klomp dot org
2024-04-17 13:40 ` [Bug gdb/31639] " tromey at sourceware dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: mark at klomp dot org @ 2024-04-13 11:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31639
Bug ID: 31639
Summary: read_str_index error message hard codes section name
Product: gdb
Version: unknown
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
Target Milestone: ---
If there is a problem with GNU_str_index or strx form in read_str_index the
error produced is:
Offset from DW_FORM_GNU_str_index or
DW_FORM_strx pointing outside of .debug_str.dwo section
But when called through read_stub_str_index the section name should not be
.debug_str.dwo. Which is really confusing when trying to debug what is wrong
with a debug file.
--
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 gdb/31639] read_str_index error message hard codes section name
2024-04-13 11:06 [Bug gdb/31639] New: read_str_index error message hard codes section name mark at klomp dot org
@ 2024-04-17 13:40 ` tromey at sourceware dot org
2024-04-17 13:44 ` tromey at sourceware dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-04-17 13:40 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31639
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Sending a patch.
--
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 gdb/31639] read_str_index error message hard codes section name
2024-04-13 11:06 [Bug gdb/31639] New: read_str_index error message hard codes section name mark at klomp dot org
2024-04-17 13:40 ` [Bug gdb/31639] " tromey at sourceware dot org
@ 2024-04-17 13:44 ` tromey at sourceware dot org
2024-04-17 14:59 ` cvs-commit at gcc dot gnu.org
2024-04-17 15:00 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-04-17 13:44 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31639
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
https://sourceware.org/pipermail/gdb-patches/2024-April/208191.html
--
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 gdb/31639] read_str_index error message hard codes section name
2024-04-13 11:06 [Bug gdb/31639] New: read_str_index error message hard codes section name mark at klomp dot org
2024-04-17 13:40 ` [Bug gdb/31639] " tromey at sourceware dot org
2024-04-17 13:44 ` tromey at sourceware dot org
@ 2024-04-17 14:59 ` cvs-commit at gcc dot gnu.org
2024-04-17 15:00 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-17 14:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31639
--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom Tromey <tromey@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c7d73a715775ade814370212726d50ab4b7c6fe0
commit c7d73a715775ade814370212726d50ab4b7c6fe0
Author: Tom Tromey <tromey@adacore.com>
Date: Wed Apr 17 07:42:28 2024 -0600
Use section name in DWARF error message
A bug points out that a certain error message in read_str_index uses a
hard-coded section name. This patch changes it to use
dwarf2_section_info::get_name instead, like the other errors in the
function.
No test because it didn't seem worthwhile.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31639
Approved-By: Simon Marchi <simon.marchi@efficios.com>
--
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 gdb/31639] read_str_index error message hard codes section name
2024-04-13 11:06 [Bug gdb/31639] New: read_str_index error message hard codes section name mark at klomp dot org
` (2 preceding siblings ...)
2024-04-17 14:59 ` cvs-commit at gcc dot gnu.org
@ 2024-04-17 15:00 ` tromey at sourceware dot org
3 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2024-04-17 15:00 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31639
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Target Milestone|--- |15.1
Status|NEW |RESOLVED
--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
Fixed.
--
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:[~2024-04-17 15:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-13 11:06 [Bug gdb/31639] New: read_str_index error message hard codes section name mark at klomp dot org
2024-04-17 13:40 ` [Bug gdb/31639] " tromey at sourceware dot org
2024-04-17 13:44 ` tromey at sourceware dot org
2024-04-17 14:59 ` cvs-commit at gcc dot gnu.org
2024-04-17 15:00 ` 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).