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] Fixes to gdb.mi testsuite


On 13-06-18 07:31 AM, Pedro Alves wrote:
On 06/17/2013 04:29 PM, Simon Marchi wrote:
This is the updated version of the patch submitted in this thread:
http://sourceware.org/ml/gdb-patches/2013-05/msg00971.html

It contains two fixes to the gdb.mi testsuite:

Note these are separate logical changes.  It'd be a little
better to keep them as separate patches/posts.

* Add support for args to mi_run_to_main (and the commands that it
   depends on, mi_runto, mi_runto_helper). mi_run_cmd_full already
   supported arguments, but it didn't work when use_mi_command was set.

You don't need this anymore, right?

You are right. I think it is still a nice feature to have. Also mi_run_cmd_full already accepted an "args" parameter, but the behavior is wrong when use_mi_command == 1, so that should be fixed.

* Fix mi_expect_stop for inferiors that exit with non-zero exit codes.
   The message is a little bit different when the inferior exits with
   zero and non-zero values, so mi_expect_stop must take that into
   account.

This part is OK.



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