This is the mail archive of the gdb@sources.redhat.com 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: Pipe question (mmm)


    it is unlikely that sending \"quit\\n\" down to GDB will work, 
since it will take some time for GDB to reply to 'quit' command.
The solution that work for me (in a very similar situation), is to
issue following commands:

    > set confirm off
    > quit

    The 'confirm' command is used to confirm dangerous operations;
disabling it will tell GDB to just go ahead and quit (killing inferior, if
there is one present).

    Hope that helps,

-- stanley 

----- Original Message ----- 
From: <a2782@dis.ulpgc.es>
To: <gdb@sources.redhat.com>
Sent: Wednesday, December 04, 2002 2:25 PM
Subject: Re: Pipe question (mmm)


> Thanks again to Eli (I have removed the bug of strcat and the constant 
> string) and Michael C for their effort.
> 
> It\'s important to realize that gdb asks to confirm in several points of 
> its execution (I will consider it from now). But I was using a very 
> short code and this prompt didn\'t appear (and, as I said, GDB is ending 
> properly). I wonder if it can be a problem with my development GUI 
> (Kylix 3.0 Open Edition) or something I may be missing. Well, if anyone 
> knows something new, don\'t hesitate to help me!
> 
> Ciao!
> 


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