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-04-27 10:17:39 +00:00
2011-03-09 20:31:50 +00:00
2011-03-07 19:50:22 +00:00
2011-01-12 21:09:39 +00:00
2011-01-12 21:09:39 +00:00
2011-01-12 21:09:39 +00:00
2011-01-12 21:09:39 +00:00
2011-01-06 00:57:05 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-01-06 00:57:05 +00:00
2011-01-06 00:57:05 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-01-01 15:34:07 +00:00
2011-06-03 15:32:44 +00:00
2011-05-26 18:23:32 +00:00
2011-04-27 10:17:39 +00:00
2011-04-27 10:17:39 +00:00
2011-01-01 15:34:07 +00:00
2011-04-29 18:44:15 +00:00
2011-01-01 15:34:07 +00:00
2011-01-12 21:09:39 +00:00