This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: change "program exited" message
On Friday 04 March 2011 17:24:15, Tom Tromey wrote:
> Pedro> I suggest, modelled on how we print threads:
> Pedro> "[Inferior " + inferior->num + "(" target_pid_to_string (pid_to_ptid (inf->pid)) + ")" + $whathappened + "]"
>
> Looks good to me.
>
> Here's the patch. This time I introduced a new variable in the test
> suite, so that further changes to the format are less difficult to
> implement.
Thanks!
(Do we actually need gdb_continue_off_end? It seemed
like in all but a couple of cases it was the same
as gdb_continue_to_end, except that the new function
doesn't handle using stubs.)
--
Pedro Alves