public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/30714] New: make DWARF CU expansion interruptible
@ 2023-08-01 22:42 tromey at sourceware dot org
2023-08-01 22:43 ` [Bug symtab/30714] " tromey at sourceware dot org
2023-12-10 21:59 ` tromey at sourceware dot org
0 siblings, 2 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-08-01 22:42 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30714
Bug ID: 30714
Summary: make DWARF CU expansion interruptible
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: tromey at sourceware dot org
Target Milestone: ---
Right now, DWARF CU expansion can't really be interrupted.
There are some calls to QUIT in the various "quick" APIs,
but none in the lower levels of expansion; nor in buildsym.c.
Allowing a finer-grained quit might be nice.
If bug #30713 is implemented, then this is a pre-requisite,
so that quits from some lower level don't break things.
(Though one option there would be to temporarily block
SIGINT or to install a no-op quit handler.)
--
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/30714] make DWARF CU expansion interruptible
2023-08-01 22:42 [Bug symtab/30714] New: make DWARF CU expansion interruptible tromey at sourceware dot org
@ 2023-08-01 22:43 ` tromey at sourceware dot org
2023-12-10 21:59 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-08-01 22:43 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30714
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |30713
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=30713
[Bug 30713] do not catch 'const gdb_exception &'
--
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/30714] make DWARF CU expansion interruptible
2023-08-01 22:42 [Bug symtab/30714] New: make DWARF CU expansion interruptible tromey at sourceware dot org
2023-08-01 22:43 ` [Bug symtab/30714] " tromey at sourceware dot org
@ 2023-12-10 21:59 ` tromey at sourceware dot org
1 sibling, 0 replies; 3+ messages in thread
From: tromey at sourceware dot org @ 2023-12-10 21:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=30714
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
There's only one spot in the DWARF code that catches
plain gdb_exception, and it is in a worker thread,
which will never see a quit anyway. So, the link
to bug#30713 isn't needed.
We probably need to audit some of the code to make sure
it is exception-safe. Assuming that's true we can
just add QUITs in the CU expansion code.
--
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:[~2023-12-10 21:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-01 22:42 [Bug symtab/30714] New: make DWARF CU expansion interruptible tromey at sourceware dot org
2023-08-01 22:43 ` [Bug symtab/30714] " tromey at sourceware dot org
2023-12-10 21:59 ` 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).