Hi, This patch fix http://sourceware.org/bugzilla/show_bug.cgi?id=15165 But I didn't use commands because it is not current way to setup commands of dprintf. So I add a check in save_breakpoints to let it not save dprintf commands.. If you think we need, I can put commands save code as a special function to handle it. Please help me review it. Thanks, Hui 2013-04-18 Hui Zhu PR gdb/15165 * breakpoint.c (dprintf_print_recreate): New. (save_breakpoints): Let it not save dprintf commands. (initialize_breakpoint_ops): Set dprintf_print_recreate.