RFC: change "program exited" message

Pedro Alves pedro@codesourcery.com
Fri Mar 4 19:13:00 GMT 2011


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



More information about the Gdb-patches mailing list