This is the mail archive of the gdb@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: usability: exiting from GDB


> Date: Mon, 27 Nov 2006 18:42:43 +1100
> From: John Pye <john.pye@anu.edu.au>
> CC:  gdb@sourceware.org
> 
> About that 'ctrl-C' behaviour -- any reason why this couldn't be changed
> (perhaps to do with signal handlers or somesuch)?

I don't think signal handlers are the issue.  I think the main
problems with this are: (1) there might be asynchronous commands
running even though you are sitting at the GDB prompt, and (2) due to
relatively slow human reaction times, you could hit Ctrl-C to
interrupt a command, but when that Ctrl-C gets to GDB the command
could already be done, which will dump you out of GDB.

But maybe treating Ctrl-C as q (with query) would be okay, I don't
know.


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