Hi, This is the patches to add -s flags to make -break-info support dprintf. mi-dprintf.txt is for the code. mi-dprintf-doc.txt is for the doc. mi-dprintf-test.txt is for the test. After this patch, you can use -s option to add dprintf. To see mi-dprintf-doc.txt to get info about how to use this function. Please help me review it. Thanks, Hui This is for NEWS: ** The -s of MI command -break-insert can set a dynamic printf. 2013-03-28 Hui Zhu * breakpoint.c (dprintf_breakpoint_ops): Remove its static. * breakpoint.h (dprintf_breakpoint_ops): Add extern. * mi/mi-cmd-break.c (mi_cmd_break_insert): Add "-s". 2013-03-28 Hui Zhu * gdb.texinfo (GDB/MI Breakpoint Commands): Add "-s". 2013-03-28 Hui Zhu * gdb.mi/Makefile.in (PROGS): Add "mi-dprintf". * gdb.mi/mi-dprintf.c, gdb.mi/mi-dprintf.h: New.