diff options
author | Doug Evans <dje@google.com> | 2013-03-29 21:42:04 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-03-29 21:42:04 +0000 |
commit | a8ad1e578d76435af87aa91d7628857f79c04849 (patch) | |
tree | 9aa6f7e040f34fd8019eb9c650252084e168417a | |
parent | f048b1425bed2e17643e37c85ac72741021ffa30 (diff) | |
download | gdb-a8ad1e578d76435af87aa91d7628857f79c04849.zip gdb-a8ad1e578d76435af87aa91d7628857f79c04849.tar.gz gdb-a8ad1e578d76435af87aa91d7628857f79c04849.tar.bz2 |
* dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and
unnecessary, cleanup.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/dwarf2read.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7467b40..e49505d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2013-03-29 Doug Evans <dje@google.com> + * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and + unnecessary, cleanup. + * dwarf2read.c (lookup_dwo_cutu): Improve complaint text. * dwarf2read.c (read_cutu_die_from_dwo): New function. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 10861ac..c23e6c1 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -9198,8 +9198,6 @@ open_and_init_dwp_file (const char *comp_dir) dwp_file->dbfd = dbfd; do_cleanups (cleanups); - cleanups = make_cleanup (free_dwo_file_cleanup, dwp_file); - /* +1: section 0 is unused */ dwp_file->num_sections = bfd_count_sections (dbfd) + 1; dwp_file->elf_sections = @@ -9214,8 +9212,6 @@ open_and_init_dwp_file (const char *comp_dir) dwp_file->loaded_cutus = allocate_dwp_loaded_cutus_table (objfile); - discard_cleanups (cleanups); - if (dwarf2_read_debug) { fprintf_unfiltered (gdb_stdlog, "DWP file found: %s\n", dwp_file->name); |