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: [RFA] Make attach_command exception-safe


On Fri, Aug 29, 2008 at 07:10:42AM +0000, Vladimir Prus wrote:
> 
> When attach_command executes, it might disable stdin. It further might
> throw, and does not enable stdin in that case. For CLI case, top-level
> event loop will catch the exception and enable stdin. For MI case, MI
> interpreter catches the exception in order to print the error message,
> and of course it has no idea about any stdin disabling.
> 
> This patch makes attach_command exception-safe, enabling stdin on
> throw.
> 
> OK?

OK.

>  ChangeLog.csl |    6 ++++++

Not that bit :-)

-- 
Daniel Jacobowitz
CodeSourcery


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