public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
@ 2022-04-05 18:37 ` tromey at sourceware dot org
2022-04-05 19:16 ` tromey at sourceware dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: tromey at sourceware dot org @ 2022-04-05 18:37 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
CC| |tromey at sourceware dot org
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
This works for me now:
Reading symbols from ./a...
Reading symbols from /tmp/QQ/./a.debug...
I think this was fixed in bug #15415.
*** This bug has been marked as a duplicate of bug 15415 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
2022-04-05 18:37 ` [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink tromey at sourceware dot org
@ 2022-04-05 19:16 ` tromey at sourceware dot org
2023-10-13 7:27 ` christian.prochaska@genode-labs.com
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: tromey at sourceware dot org @ 2022-04-05 19:16 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Ever confirmed|0 |1
Resolution|DUPLICATE |---
Last reconfirmed| |2022-04-05
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
Spoke too soon on this one.
This works with a patch I have, but not with unmodified gdb.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
2022-04-05 18:37 ` [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink tromey at sourceware dot org
2022-04-05 19:16 ` tromey at sourceware dot org
@ 2023-10-13 7:27 ` christian.prochaska@genode-labs.com
2023-10-14 5:10 ` sam at gentoo dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: christian.prochaska@genode-labs.com @ 2023-10-13 7:27 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
Christian Prochaska <christian.prochaska@genode-labs.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |christian.prochaska@genode-
| |labs.com
--- Comment #3 from Christian Prochaska <christian.prochaska@genode-labs.com> ---
I ran into the same problem using the 'file' command.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
` (2 preceding siblings ...)
2023-10-13 7:27 ` christian.prochaska@genode-labs.com
@ 2023-10-14 5:10 ` sam at gentoo dot org
2023-10-30 12:12 ` christian.prochaska@genode-labs.com
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-10-14 5:10 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sam at gentoo dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
` (3 preceding siblings ...)
2023-10-14 5:10 ` sam at gentoo dot org
@ 2023-10-30 12:12 ` christian.prochaska@genode-labs.com
2023-11-13 9:50 ` sam at gentoo dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: christian.prochaska@genode-labs.com @ 2023-10-30 12:12 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
--- Comment #4 from Christian Prochaska <christian.prochaska@genode-labs.com> ---
'open_and_init_dwp_file()' tries 'objfile->original_name' before 'objfile_name
(objfile)', so maybe 'find_separate_debug_file_by_debuglink()' should start
with 'objfile->original_name' as well? Doing that at least seems to solve the
problem with the example case, but there are more places where 'objfile_name()'
is used in the same file which might need to be changed as well for a proper
fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
` (4 preceding siblings ...)
2023-10-30 12:12 ` christian.prochaska@genode-labs.com
@ 2023-11-13 9:50 ` sam at gentoo dot org
2023-11-13 9:53 ` sam at gentoo dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-11-13 9:50 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://bugs.gentoo.org/sho
| |w_bug.cgi?id=917287
CC| |arsen at sourceware dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
` (5 preceding siblings ...)
2023-11-13 9:50 ` sam at gentoo dot org
@ 2023-11-13 9:53 ` sam at gentoo dot org
2023-11-13 10:25 ` sam at gentoo dot org
2023-11-16 18:13 ` tromey at sourceware dot org
8 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-11-13 9:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=15415
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
` (6 preceding siblings ...)
2023-11-13 9:53 ` sam at gentoo dot org
@ 2023-11-13 10:25 ` sam at gentoo dot org
2023-11-16 18:13 ` tromey at sourceware dot org
8 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-11-13 10:25 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=15934
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
` (7 preceding siblings ...)
2023-11-13 10:25 ` sam at gentoo dot org
@ 2023-11-16 18:13 ` tromey at sourceware dot org
8 siblings, 0 replies; 9+ messages in thread
From: tromey at sourceware dot org @ 2023-11-16 18:13 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=24143
--- Comment #5 from Tom Tromey <tromey at sourceware dot org> ---
My patch:
https://sourceware.org/pipermail/gdb-patches/2022-April/187545.html
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-11-16 18:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-24143-4717@http.sourceware.org/bugzilla/>
2022-04-05 18:37 ` [Bug symtab/24143] GDB does not read debug info file from user provided binary path if it is a symlink tromey at sourceware dot org
2022-04-05 19:16 ` tromey at sourceware dot org
2023-10-13 7:27 ` christian.prochaska@genode-labs.com
2023-10-14 5:10 ` sam at gentoo dot org
2023-10-30 12:12 ` christian.prochaska@genode-labs.com
2023-11-13 9:50 ` sam at gentoo dot org
2023-11-13 9:53 ` sam at gentoo dot org
2023-11-13 10:25 ` sam at gentoo dot org
2023-11-16 18:13 ` 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).