binutils-gdb/gdb/python
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
..
lib/gdb * python/lib/gdb/printing.py (register_pretty_printer): Add missing 2011-05-23 17:38:06 +00:00
py-auto-load.c * python/py-auto-load.c (source_section_scripts): Mention objfile 2011-05-16 16:33:57 +00:00
py-block.c
py-bpevent.c
py-breakpoint.c * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix 2011-04-27 12:04:42 +00:00
py-cmd.c
py-continueevent.c
py-event.c
py-event.h gdb 2011-06-03 15:32:44 +00:00
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c gdb 2011-06-03 15:32:44 +00:00
py-frame.c gdb/ 2011-04-17 14:14:23 +00:00
py-function.c
py-inferior.c gdb 2011-06-03 15:32:44 +00:00
py-infthread.c
py-lazy-string.c
py-objfile.c
py-param.c
py-prettyprint.c
py-progspace.c
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c gdb/ 2011-04-17 14:14:23 +00:00
py-symtab.c
py-threadevent.c
py-type.c
py-utils.c
py-value.c
python-config.py
python-internal.h 2011-05-27 Pedro Alves <pedro@codesourcery.com> 2011-05-27 18:39:49 +00:00
python.c
python.h