aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-03-31 16:51:37 -0700
committerDoug Evans <dje@google.com>2014-03-31 16:51:37 -0700
commit11a865c84fcf530d8d96d01566f4bde378f629a1 (patch)
treef8b83b35765715b52971c62ceaf3140e0792bb9c
parent4658f0eaf5036d9e4e9b968d9f31366746029c10 (diff)
downloadgdb-11a865c84fcf530d8d96d01566f4bde378f629a1.zip
gdb-11a865c84fcf530d8d96d01566f4bde378f629a1.tar.gz
gdb-11a865c84fcf530d8d96d01566f4bde378f629a1.tar.bz2
dwarf2read.c (read_cutu_die_from_dwo): Delete unused local comp_dir_string.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2read.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7f7863e..5ff3b59 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-03-31 Doug Evans <dje@google.com>
+ * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
+ comp_dir_string.
+
+2014-03-31 Doug Evans <dje@google.com>
+
New option "set print symbol-loading".
* NEWS: Mention it.
* solib.c (solib_read_symbols): Only print symbol loading messages
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 64f7383..0c8d99f 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -4970,7 +4970,6 @@ read_cutu_die_from_dwo (struct dwarf2_per_cu_data *this_cu,
struct dwarf2_section_info *section;
bfd *abfd;
const gdb_byte *begin_info_ptr, *info_ptr;
- const char *comp_dir_string;
ULONGEST signature; /* Or dwo_id. */
struct attribute *comp_dir, *stmt_list, *low_pc, *high_pc, *ranges;
int i,num_extra_attrs;