diff options
author | Hui Zhu <teawater@gmail.com> | 2013-04-23 03:20:20 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2013-04-23 03:20:20 +0000 |
commit | 4a3e7d158ae4a2005ae20e77541152e52acc9582 (patch) | |
tree | 9d35018496e7848320dbfa8698c98d14da83afee /gdb/breakpoint.c | |
parent | 0d7b8797a6206f8c706938448d6084c5fe9fdeb7 (diff) | |
download | gdb-4a3e7d158ae4a2005ae20e77541152e52acc9582.tar.gz |
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.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 84c5b46273c..f155b9eb59e 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: |