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 v4] Exit code of exited inferiors in -list-thread-groups


> Date: Tue, 25 Jun 2013 16:23:55 -0400
> From: Simon Marchi <simon.marchi@ericsson.com>
> 
> Don't reset the exit code at inferior exit and print it in
> -list-thread-groups.
> 
> Reminder: this patch depends on another one that fixes mi_expect_stop,
> the last version being this one:
> http://sourceware.org/ml/gdb-patches/2013-06/msg00736.html
> 
> gdb/ChangeLog:
> 2013-06-25  Simon Marchi <simon.marchi@ericsson.com>
> 
> 	* NEWS: Announce new exit-code field in -list-thread-groups
> 	output.
> 	* inferior.c (exit_inferior_1): Don't clear exit code.
> 	(inferior_appeared): Clear exit code.
> 	* mi/mi-main.c (print_one_inferior): Add printing of the exit code.
> 
> gdb/testsuite/ChangeLog:
> 2013-06-25  Simon Marchi <simon.marchi@ericsson.com>
> 
> 	* gdb.mi/mi-exit-code.exp: New file.
> 	* gdb.mi/mi-exit-code.c: New file.
> 
> gdb/doc/ChangeLog:
> 2013-06-25  Simon Marchi <simon.marchi@ericsson.com>
> 
> 	* gdb.texinfo (Miscellaneous gdb/mi Commands): Document new
> 	exit-code field in -list-thread-groups output.

The documentation parts are OK.  Thanks.


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