forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user