Bug 23622 - error fails to switch terminal access
Summary: error fails to switch terminal access
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 8.2
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 24928 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-10 13:20 UTC by Andreas Schwab
Modified: 2019-08-22 16:39 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwab 2018-09-10 13:20:59 UTC
When gdb calls error it fails to switch the terminal away from the inferior, causing it to be stopped by the kernel.  For example, the error in symbol_file_add_from_memory happens while the inferior owns the terminal.
Comment 1 Andreas Schwab 2019-06-13 18:31:48 UTC
Fixed by commit 766f883622.
Comment 2 Andreas Schwab 2019-08-22 16:39:18 UTC
*** Bug 24928 has been marked as a duplicate of this bug. ***