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-05-23 17:38:06 +00:00
2011-05-16 16:33:57 +00:00
2011-03-17 09:36:17 +00:00
2011-02-05 05:27:23 +00:00
2011-04-27 12:04:42 +00:00
2011-02-28 18:55:22 +00:00
2011-02-05 05:27:23 +00:00
2011-02-05 05:27:23 +00:00
2011-06-03 15:32:44 +00:00
2011-02-05 05:27:23 +00:00
2011-02-05 05:27:23 +00:00
2011-03-14 15:43:51 +00:00
2011-06-03 15:32:44 +00:00
2011-04-17 14:14:23 +00:00
2011-03-22 09:38:16 +00:00
2011-06-03 15:32:44 +00:00
2011-03-17 09:36:17 +00:00
2011-01-26 20:53:45 +00:00
2011-03-17 09:36:17 +00:00
2011-03-10 12:29:08 +00:00
2011-03-31 16:25:41 +00:00
2011-01-06 00:57:05 +00:00
2011-02-05 05:27:23 +00:00
2011-02-05 05:27:23 +00:00
2011-03-14 16:55:04 +00:00
2011-04-17 14:14:23 +00:00
2011-03-17 09:36:17 +00:00
2011-02-05 05:27:23 +00:00
2011-01-26 20:53:45 +00:00
2011-03-01 19:00:16 +00:00
2011-03-18 16:09:57 +00:00
2011-01-31 04:42:08 +00:00
2011-05-27 18:39:49 +00:00
2011-04-04 17:41:07 +00:00
2011-03-14 16:09:55 +00:00