2013-05-21 Hui Zhu <hui@codesourcery.com>
authorHui Zhu <teawater@gmail.com>
Tue, 21 May 2013 04:18:55 +0000 (04:18 +0000)
committerHui Zhu <teawater@gmail.com>
Tue, 21 May 2013 04:18:55 +0000 (04:18 +0000)
commitc5867ab65ce98cb27943606d66eee564c60a7d23
tree8e623a837ebd3598708ba25a955740c304fb65a9
parent624852650acae72e34a0204d4e3e0a6c809b1625
2013-05-21  Hui Zhu  <hui@codesourcery.com>

* breakpoint.c (dprintf_breakpoint_ops): Remove its static.
* breakpoint.h (dprintf_breakpoint_ops): Add extern.
* mi/mi-cmd-break.c (ctype.h): New include.
(gdb_obstack.h): New include.
(mi_argv_to_format, mi_cmd_break_insert_1): New.
(mi_cmd_break_insert): Call mi_cmd_break_insert_1.
(mi_cmd_dprintf_insert): New.
* mi/mi-cmds.c (mi_cmds): Add "dprintf-insert".
* mi/mi-cmds.h (mi_cmd_dprintf_insert): New extern.

2013-05-21  Hui Zhu  <hui@codesourcery.com>

* gdb.texinfo (GDB/MI Breakpoint Commands): Describe the
"-dprintf-insert" command.

2013-05-21  Hui Zhu  <hui@codesourcery.com>

* gdb.mi/Makefile.in (PROGS): Add "mi-dprintf".
* gdb.mi/mi-dprintf.exp, gdb.mi/mi-dprintf.c: New.
13 files changed:
gdb/ChangeLog
gdb/NEWS
gdb/breakpoint.c
gdb/breakpoint.h
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/mi/mi-cmd-break.c
gdb/mi/mi-cmds.c
gdb/mi/mi-cmds.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/Makefile.in
gdb/testsuite/gdb.mi/mi-dprintf.c [new file with mode: 0644]
gdb/testsuite/gdb.mi/mi-dprintf.exp [new file with mode: 0644]