aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2013-04-23 03:20:21 +0000
committerHui Zhu <teawater@gmail.com>2013-04-23 03:20:21 +0000
commita11cfd87c0caa54f54f52fc9712e8994e265d744 (patch)
tree32893939a1d0f1131a5fc52d1546f6a980b40206 /gdb/breakpoint.c
parent2d9442cc40e3cda16f5a7515729f38d8637354f3 (diff)
downloadgdb-a11cfd87c0caa54f54f52fc9712e8994e265d744.zip
gdb-a11cfd87c0caa54f54f52fc9712e8994e265d744.tar.gz
gdb-a11cfd87c0caa54f54f52fc9712e8994e265d744.tar.bz2
2013-04-23 Hui Zhu <hui@codesourcery.com>
PR gdb/15293 * breakpoint.c (bpstat_what): Add BPSTAT_WHAT_SINGLE to bp_dprintf. 2013-04-23 Hui Zhu <hui@codesourcery.com> PR gdb/15293 * gdb.base/dprintf.exp: Add ignore command.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 84c5b46..f155b9e 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -5529,7 +5529,10 @@ bpstat_what (bpstat bs_head)
break;
case bp_dprintf:
- this_action = BPSTAT_WHAT_STOP_SILENT;
+ if (bs->stop)
+ this_action = BPSTAT_WHAT_STOP_SILENT;
+ else
+ this_action = BPSTAT_WHAT_SINGLE;
break;
default: