aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-02 04:16:24 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-02 04:16:24 +0000
commitb59661bd15b66aa6cb11fafd624fd534cce0fa98 (patch)
tree646fb5692f791365b1c5d87645655a2a4c018a0d /gdb/breakpoint.c
parent5ef165c2ea8fea1f72c392c3dddc687ca58b1b87 (diff)
downloadgdb-b59661bd15b66aa6cb11fafd624fd534cce0fa98.zip
gdb-b59661bd15b66aa6cb11fafd624fd534cce0fa98.tar.gz
gdb-b59661bd15b66aa6cb11fafd624fd534cce0fa98.tar.bz2
2003-06-01 Andrew Cagney <cagney@redhat.com>
* dwarfread.c: Eliminate "register" (decode_die_type): Eliminate assignment within "if". (struct_type, decode_array_element_type): Ditto. (dwarf_read_array_type, read_tag_pointer_type): Ditto. (read_subroutine_type, enum_type, add_enum_psymbol): Ditto. (decode_modified_type, completedieinfo): Ditto. * block.c: Eliminate "register". (blockvector_for_pc_sect): Eliminate assignment within "if". * cp-support.h (struct symbol): Opaque declaration. * breakpoint.c (handle_gnu_v3_exceptions): Use xfree, not free.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 66b319e..a92ae8c 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -6082,7 +6082,7 @@ handle_gnu_v3_exceptions (int tempflag, char *cond_string,
sals = decode_line_1 (&nameptr, 1, NULL, 0, NULL);
if (sals.nelts == 0)
{
- free (trigger_func_name);
+ xfree (trigger_func_name);
return 0;
}
@@ -6098,7 +6098,7 @@ handle_gnu_v3_exceptions (int tempflag, char *cond_string,
b->disposition = tempflag ? disp_del : disp_donttouch;
b->ops = &gnu_v3_exception_catchpoint_ops;
- free (sals.sals);
+ xfree (sals.sals);
mention (b);
return 1;
}