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 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-bpevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-breakpoint.c * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix 2011-04-27 12:04:42 +00:00
py-cmd.c 2011-02-28 Michael Snyder <msnyder@vmware.com> 2011-02-28 18:55:22 +00:00
py-continueevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-event.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-event.h gdb 2011-06-03 15:32:44 +00:00
py-events.h Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-evtregistry.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-evts.c Fix ARI warning about functions without parameters that do not 2011-03-14 15:43:51 +00:00
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 2011-03-21 Phil Muldoon <pmuldoon@redhat.com> 2011-03-22 09:38:16 +00:00
py-inferior.c gdb 2011-06-03 15:32:44 +00:00
py-infthread.c 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-lazy-string.c * python/python.c (gdbpy_solib_name): Use gdb_py_longest and 2011-01-26 20:53:45 +00:00
py-objfile.c 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-param.c 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> 2011-03-10 12:29:08 +00:00
py-prettyprint.c * python/py-prettyprint.c (print_stack_unless_memory_error): Add 2011-03-31 16:25:41 +00:00
py-progspace.c 2011-01-05 Michael Snyder <msnyder@vmware.com> 2011-01-06 00:57:05 +00:00
py-signalevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-stopevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-stopevent.h Fix ARI warning about function names in first column. 2011-03-14 16:55:04 +00:00
py-symbol.c gdb/ 2011-04-17 14:14:23 +00:00
py-symtab.c 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> 2011-03-17 09:36:17 +00:00
py-threadevent.c Add the file that prev commit forget. 2011-02-05 05:27:23 +00:00
py-type.c * python/python.c (gdbpy_solib_name): Use gdb_py_longest and 2011-01-26 20:53:45 +00:00
py-utils.c 2011-02-28 Michael Snyder <msnyder@vmware.com> 2011-03-01 19:00:16 +00:00
py-value.c * python/py-value.c (valpy_getitem): Fix formatting of error function 2011-03-18 16:09:57 +00:00
python-config.py allow building GDB with Python support on MinGW 2011-01-31 04:42:08 +00:00
python-internal.h 2011-05-27 Pedro Alves <pedro@codesourcery.com> 2011-05-27 18:39:49 +00:00
python.c * tracepoint.c (scope_info): Update. 2011-04-04 17:41:07 +00:00
python.h 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> 2011-03-14 16:09:55 +00:00