This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Have SIGTERM promptly quit GDB even when the dummy target is active


On 07/27/2015 03:53 PM, Pedro Alves wrote:
> On 07/24/2015 07:33 PM, Patrick Palka wrote:
> 
>> gdb/ChangeLog:
>>
>> 	* event-top.c (handle_sigterm): Don't inspect
>> 	target_can_async_p.  Always set the quit flag and always mark
>> 	the async signal handler.
> 
> OK.

BTW, I notice that GDB leaves the terminal settings broken
after exiting on SIGTERM.  Is that something you're already
looking at?  (Mostly likely there's a target_terminal_ours
missing somewhere.)

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]