projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* breakpoint.c (breakpoint_re_set_one): Add missing chunk of
[deliverable/binutils-gdb.git]
/
gdb
/
breakpoint.c
diff --git
a/gdb/breakpoint.c
b/gdb/breakpoint.c
index a9bd979adc0062a3e03ef2238aa90720d6a6059a..4ea0f676ff3cd801d5e03c844ab9f9719cd7f503 100644
(file)
--- a/
gdb/breakpoint.c
+++ b/
gdb/breakpoint.c
@@
-6902,7
+6902,12
@@
breakpoint_re_set_one (void *bint)
{
s = b->cond_string;
if (b->cond)
- xfree (b->cond);
+ {
+ xfree (b->cond);
+ /* Avoid re-freeing b->exp if an error during the call
+ to parse_exp_1. */
+ b->cond = NULL;
+ }
b->cond = parse_exp_1 (&s, block_for_pc (sals.sals[i].pc), 0);
}
This page took
0.023614 seconds
and
4
git commands to generate.