aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2013-05-21 04:18:55 +0000
committerHui Zhu <teawater@gmail.com>2013-05-21 04:18:55 +0000
commitc5867ab65ce98cb27943606d66eee564c60a7d23 (patch)
tree8e623a837ebd3598708ba25a955740c304fb65a9 /gdb/breakpoint.c
parent624852650acae72e34a0204d4e3e0a6c809b1625 (diff)
downloadgdb-c5867ab65ce98cb27943606d66eee564c60a7d23.zip
gdb-c5867ab65ce98cb27943606d66eee564c60a7d23.tar.gz
gdb-c5867ab65ce98cb27943606d66eee564c60a7d23.tar.bz2
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.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index f4f9325..bbbaaf5 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -301,7 +301,7 @@ struct breakpoint_ops bkpt_breakpoint_ops;
static struct breakpoint_ops bkpt_probe_breakpoint_ops;
/* Dynamic printf class type. */
-static struct breakpoint_ops dprintf_breakpoint_ops;
+struct breakpoint_ops dprintf_breakpoint_ops;
/* The style in which to perform a dynamic printf. This is a user
option because different output options have different tradeoffs;