mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
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.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2014-02-20 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* dbxread.c (read_dbx_symtab): Remove last_o_file_start.
|
||||||
|
|
||||||
2014-02-20 Doug Evans <xdje42@gmail.com>
|
2014-02-20 Doug Evans <xdje42@gmail.com>
|
||||||
|
|
||||||
* guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
|
* guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
|
||||||
|
@ -1199,7 +1199,6 @@ read_dbx_symtab (struct objfile *objfile)
|
|||||||
char *namestring;
|
char *namestring;
|
||||||
int nsl;
|
int nsl;
|
||||||
int past_first_source_file = 0;
|
int past_first_source_file = 0;
|
||||||
CORE_ADDR last_o_file_start = 0;
|
|
||||||
CORE_ADDR last_function_start = 0;
|
CORE_ADDR last_function_start = 0;
|
||||||
struct cleanup *back_to;
|
struct cleanup *back_to;
|
||||||
bfd *abfd;
|
bfd *abfd;
|
||||||
@ -1391,7 +1390,6 @@ read_dbx_symtab (struct objfile *objfile)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
past_first_source_file = 1;
|
past_first_source_file = 1;
|
||||||
last_o_file_start = nlist.n_value;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
goto record_it;
|
goto record_it;
|
||||||
|
Reference in New Issue
Block a user