2011-03-01 Michael Snyder <msnyder@vmware.com>

* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
This commit is contained in:
Michael Snyder 2011-03-02 00:37:29 +00:00
parent 85c378b113
commit 62d5b8da6a
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2011-03-01 Michael Snyder <msnyder@vmware.com>
* dwarf2read.c (dwarf2_compute_name): NAME cannot be null here.
* cli/cli-dump.c (restore_binary_file): Validate ftell return value.
* ada-lang.c (ada_make_symbol_completion_list): Replace malloc

View File

@ -4849,7 +4849,7 @@ dwarf2_compute_name (char *name, struct die_info *die, struct dwarf2_cu *cu,
xfree (prefixed_name);
}
else
fputs_unfiltered (name ? name : "", buf);
fputs_unfiltered (name, buf);
/* Template parameters may be specified in the DIE's DW_AT_name, or
as children with DW_TAG_template_type_param or