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


Brian Dessent wrote:
> John Pye wrote:
>
>   
>> Note the vital difference here: bash never asks for confirmation on ctrl-D.
>>     
> Did you really read the existing replies in this thread?
>   

I was wrong here -- it does *sometimes* ask confirmation, as you've
pointed out.

> Daniel Jacobowitz wrote:
>   
>> I don't know about you, but my shell prints a warning message if I try
>> to C-d while there are background jobs running.  GDB's behaving
>> exactly the same :-)
>>     

I did try this, but not with a suitable examples, perhaps. For example,
I was thinking of:

kompare &
ctrl-D

Also note
su
wget http://example.com/bigfile.iso &
ctrl-D


There is no confirmation request in these case, although I'm not
completely confident on drawing the distinction between these and the
'cat &' case that was given.

As the programs that I tend to be working on are often like this, I
hadn't really notices the 'stopped jobs' warning.

Cheers
JP


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