public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/27678] New: [gdb/symtab] Use debuginfod sourcelist api to test for file existence
@ 2021-04-01 6:06 vries at gcc dot gnu.org
2021-04-01 6:06 ` [Bug symtab/27678] " vries at gcc dot gnu.org
2022-01-19 23:50 ` fche at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2021-04-01 6:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27678
Bug ID: 27678
Summary: [gdb/symtab] Use debuginfod sourcelist api to test for
file existence
Product: gdb
Version: HEAD
Status: NEW
Severity: enhancement
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: vries at gcc dot gnu.org
Target Milestone: ---
Spinoff of PR27667.
In PR27673, a new debuginfod webapi to is proposed to enumerate source files: a
"/buildid/HEXCODE/sourcelist" query.
Once that's there, the client api could be extended to support an
debuginfod_source_exists_query.
This could then be used in gdb.
Currently in gdb, in some cases (symtab_to_fullname) we just want to know
whether the file exists, and in order to verify this we open the file using
debuginfod_source_query, test the resulting file descriptor for success and
then close it. This means sending over the content of the file, but not
immediately using it. Using debuginfod_source_exists_query would be cheaper.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug symtab/27678] [gdb/symtab] Use debuginfod sourcelist api to test for file existence
2021-04-01 6:06 [Bug symtab/27678] New: [gdb/symtab] Use debuginfod sourcelist api to test for file existence vries at gcc dot gnu.org
@ 2021-04-01 6:06 ` vries at gcc dot gnu.org
2022-01-19 23:50 ` fche at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2021-04-01 6:06 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27678
Tom de Vries <vries at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |27673
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=27673
[Bug 27673] [debuginfod] Handle source requests for same buildid more
efficiently
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug symtab/27678] [gdb/symtab] Use debuginfod sourcelist api to test for file existence
2021-04-01 6:06 [Bug symtab/27678] New: [gdb/symtab] Use debuginfod sourcelist api to test for file existence vries at gcc dot gnu.org
2021-04-01 6:06 ` [Bug symtab/27678] " vries at gcc dot gnu.org
@ 2022-01-19 23:50 ` fche at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2022-01-19 23:50 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=27678
Bug 27678 depends on bug 27673, which changed state.
Bug 27673 Summary: [debuginfod] Handle source requests for same buildid more efficiently
https://sourceware.org/bugzilla/show_bug.cgi?id=27673
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WONTFIX
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-19 23:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01 6:06 [Bug symtab/27678] New: [gdb/symtab] Use debuginfod sourcelist api to test for file existence vries at gcc dot gnu.org
2021-04-01 6:06 ` [Bug symtab/27678] " vries at gcc dot gnu.org
2022-01-19 23:50 ` fche at redhat dot com
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).