From: Tom Tromey Date: Thu, 20 Feb 2014 19:14:23 +0000 (-0700) Subject: minor cleanup in dbxread.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=05227d14104db74932f87e1321968da8b59fa072;p=binutils-gdb.git 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 * dbxread.c (read_dbx_symtab): Remove last_o_file_start. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 56202695fef..4ba4d28fa28 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-02-20 Tom Tromey + + * dbxread.c (read_dbx_symtab): Remove last_o_file_start. + 2014-02-20 Doug Evans * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. diff --git a/gdb/dbxread.c b/gdb/dbxread.c index ff56554fcb2..0f7027746ef 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;