aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2014-02-20 12:14:23 -0700
committerTom Tromey <tromey@redhat.com>2014-02-20 12:17:03 -0700
commit05227d14104db74932f87e1321968da8b59fa072 (patch)
treef89860744b4bcc0f4468a16c6d44541de6f2d04e /gdb/dbxread.c
parent3b8361aa0f6b4d9b3df3c59d23e574cd5f150d8c (diff)
downloadgdb-05227d14104db74932f87e1321968da8b59fa072.zip
gdb-05227d14104db74932f87e1321968da8b59fa072.tar.gz
gdb-05227d14104db74932f87e1321968da8b59fa072.tar.bz2
minor cleanup in dbxread.c
I happened to notice that last_o_file_start is write-only in read_dbx_symtab. This patch removes it. Tested by rebuilding. 2014-02-20 Tom Tromey <tromey@redhat.com> * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index ff56554..0f70277 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1199,7 +1199,6 @@ read_dbx_symtab (struct objfile *objfile)
char *namestring;
int nsl;
int past_first_source_file = 0;
- CORE_ADDR last_o_file_start = 0;
CORE_ADDR last_function_start = 0;
struct cleanup *back_to;
bfd *abfd;
@@ -1391,7 +1390,6 @@ read_dbx_symtab (struct objfile *objfile)
}
else
past_first_source_file = 1;
- last_o_file_start = nlist.n_value;
}
else
goto record_it;