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 v2] Exit code of exited inferiors


On 13-05-29 11:57 AM, Eli Zaretskii wrote:
Date: Tue, 28 May 2013 16:39:41 -0400
From: Simon Marchi <simon.marchi@ericsson.com>
CC: Marc Khouzam <marc.khouzam@ericsson.com>

This is the second version of my patch to add the exit-code in the
-list-thread-groups output. New in v2: NEWS file, documentation and a
test case. I didn't find any test about -list-thread-groups so I created it.

As far as I know, this does not break any other test.

Changelog:

2013-05-28  Simon Marchi  <simon.marchi@ericsson.com>

      * gdb/NEWS: Announce new exit-code field.
      * gdb/doc/gdb.texinfo: Document new exit-code field.
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You should state the name of the node in which you made the change, as
if it were a function (i.e. in parentheses).

      * gdb/inferior.c (exit_inferior_1): Remove exit code clear.
      (inferior_appeared): Add exit code clear.
      * gdb/mi/mi-main.c (print_one_inferior): Add printing of the exit code.
      * gdb/testsuite/gdb.mi/mi-list.exp: New file, added test case for
          -list-thread-groups.
OK for the documentation part, after you have fixed the above gotcha.

Thanks.
Marc Khouzam made me realize that there is a specific ChangeLog in gdb/doc, so I guess any change in that folder should go in this ChangeLog, is that right? Same thing for gdb/testsuite.

Simon


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