binutils-gdb/gdb/python
Stan Shebs e7e0cddfb0 2012-05-14 Stan Shebs <stan@codesourcery.com>
Add dynamic printf.
	* breakpoint.h (enum bptype): New type bp_dprintf.
	(struct breakpoint): New field extra_string.
	(struct breakpoint_ops): Add arg to create_breakpoints_sal.
	(create_breakpoint): Add extra_string arg.
	* breakpoint.c (dprintf_breakpoint_ops): New.
	(is_breakpoint): Add bp_dprintf.
	(bpstat_what): Add dprintf case.
	(bptype_string): Ditto.
	(print_one_breakpoint_location): Ditto.
	(init_bp_location): Ditto.
	(bkpt_print_mention): Ditto.
	(dprintf_style_enums): New array.
	(dprintf_style): New global.
	(dprintf_function): New global.
	(dprintf_channel): New global.
	(update_dprintf_command_list): New function.
	(update_dprintf_commands): New function.
	(init_breakpoint_sal): Add extra_string argument, handle it.
	(create_breakpoint_sal): Add extra_string argument.
	(create_breakpoints_sal): Add extra_string argument, update callers.
	(find_condition_and_thread): Add extra argument.
	(create_breakpoint): Add extra_string argument, record it.
	(dprintf_command): New function.
	(break_command_1): Add arg to create_breakpoint call.
	(handle_gnu_v3_exceptions): Ditto.
	(trace_command): Ditto.
	(ftrace_command): Ditto.
	(strace_command): Ditto.
	(bkpt_print_mention): Add dprintf case.
	(create_breakpoint_sal_default): Add extra_string argument.
	(_initialize_breakpoint): Add new commands.
	* mi/mi-cmd-break.c (mi_cmd_break_insert): Add arg to call.
	* python/py-breakpoint.c (bppy_init): Ditto.
	* python/py-finishbreakpoint.c (bpfinishpy_init): Ditto.

	* gdb.texinfo (Dynamic Printf): New subsection.

	* gdb.base/dprintf.c: New file.
	* gdb.base/dprintf.exp: New file.
2012-05-14 15:38:41 +00:00
..
lib/gdb gdb/ 2012-04-18 06:46:47 +00:00
py-auto-load.c gdb/ 2012-04-17 15:56:21 +00:00
py-block.c * tracepoint.c (scope_info): Update. 2012-05-10 19:50:09 +00:00
py-bpevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-breakpoint.c 2012-05-14 Stan Shebs <stan@codesourcery.com> 2012-05-14 15:38:41 +00:00
py-cmd.c * NEWS: Mention new python command class gdb.COMMAND_USER. 2012-03-01 19:30:25 +00:00
py-continueevent.c 2012-03-01 Pedro Alves <palves@redhat.com> 2012-03-01 21:06:54 +00:00
py-event.c PR python/12070: 2012-02-17 19:24:27 +00:00
py-event.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-events.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-evtregistry.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-evts.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-exitedevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-finishbreakpoint.c 2012-05-14 Stan Shebs <stan@codesourcery.com> 2012-05-14 15:38:41 +00:00
py-frame.c PR python/12027: 2012-02-07 19:47:16 +00:00
py-function.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-inferior.c * python/py-inferior.c (infpy_read_memory): Remove cleanups and 2012-03-28 17:38:08 +00:00
py-infthread.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-lazy-string.c 2012-03-01 Pedro Alves <palves@redhat.com> 2012-03-01 21:06:54 +00:00
py-newobjfileevent.c 2012-03-01 Pedro Alves <palves@redhat.com> 2012-03-01 21:06:54 +00:00
py-objfile.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-param.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-prettyprint.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-progspace.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-signalevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-stopevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-stopevent.h Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-symbol.c * python/py-symbol.c (sympy_value): Use _(). 2012-02-15 17:51:04 +00:00
py-symtab.c 2012-05-03 Siva Chandra Reddy <sivachandra@google.com> 2012-05-03 07:07:26 +00:00
py-threadevent.c Copyright year update in most files of the GDB Project. 2012-01-04 08:17:56 +00:00
py-type.c gdb/ 2012-04-20 07:17:58 +00:00
py-utils.c 2012-03-01 Pedro Alves <palves@redhat.com> 2012-03-01 21:06:54 +00:00
py-value.c * python/python.c (gdbpy_decode_line): Move cleanup creation out 2012-03-30 20:05:55 +00:00
python-config.py allow building GDB with Python support on MinGW 2011-01-31 04:42:08 +00:00
python-internal.h PR python/12070: 2012-02-17 19:24:27 +00:00
python.c 2012-05-14 Siva Chandra Reddy <sivachandra@google.com> 2012-05-14 03:06:47 +00:00
python.h gdb/ 2012-04-17 15:51:48 +00:00