Tom Tromey
8cf64490f2
gdb
* python/py-inferior.c (python_inferior_exit): Use inferior's exit
code fields.
* python/py-exitedevent.c (create_exited_event_object): Change
type of 'exit_code'. Optionally add exit_code attribute.
(emit_exited_event): Change type of 'exit_code'.
* python/py-event.h (emit_exited_event): Update.
* mi/mi-interp.c (mi_inferior_exit): Print exit code.
* infrun.c (handle_inferior_event): Set exit code fields on
inferior.
* inferior.h (struct inferior) <has_exit_code, exit_code>: New
fields.
* inferior.c (exit_inferior_1): Initialize new fields.
gdb/doc
* gdb.texinfo (GDB/MI Async Records): Document 'exit-code' field.
(Events In Python): Note that exit_code is optional.
2011-06-03 15:32:44 +00:00
..
2011-02-24 07:38:00 +00:00
2011-01-05 05:09:55 +00:00
2011-01-05 05:09:55 +00:00
2011-06-03 15:32:44 +00:00
2010-06-21 16:24:59 +00:00
2011-06-03 15:32:44 +00:00
2011-04-19 18:04:11 +00:00
2009-12-21 07:30:10 +00:00
2011-05-11 23:38:44 +00:00
2011-04-27 10:17:39 +00:00
2011-01-05 05:09:55 +00:00
2011-01-05 05:09:55 +00:00
2009-03-21 14:35:04 +00:00
2009-03-21 10:24:35 +00:00
2009-03-21 10:24:35 +00:00
2009-03-21 10:24:35 +00:00
2009-03-21 10:24:35 +00:00