diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:05:13 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:05:13 +0000 |
commit | 46212e0bb5c0c74454045ef9410f80f1c9b44ddd (patch) | |
tree | 90b988eca506f669c864e94101c58c296bfb6e16 /gdb/ChangeLog | |
parent | 9d2ceabe7fb356a5905dec679f87a40f4e5a896a (diff) | |
download | gdb-46212e0bb5c0c74454045ef9410f80f1c9b44ddd.zip gdb-46212e0bb5c0c74454045ef9410f80f1c9b44ddd.tar.gz gdb-46212e0bb5c0c74454045ef9410f80f1c9b44ddd.tar.bz2 |
* buildsym.c (patch_subfile_names): Use set_last_source_file.
(start_symtab): Make 'name' and 'dirname' const. Use
set_last_source_file.
(restart_symtab, reset_symtab_globals): Use set_last_source_file.
(last_source_file): Define. Now static.
(set_last_source_file, get_last_source_file): New functions.
* buildsym.h (last_source_file): Don't declare.
(start_symtab): Update.
(set_last_source_file, get_last_source_file): Declare.
* coffread.c (complete_symtab): Use set_last_source_file.
(coff_end_symtab): Likewise.
(coff_symtab_read): Use set_last_source_file, get_last_source_file.
* dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
set_last_source_file.
(process_one_symbol): Use get_last_source_file.
* mdebugread.c (parse_partial_symbols): Use set_last_source_file.
(psymtab_to_symtab_1): Use get_last_source_file.
* xcoffread.c (process_linenos): Use get_last_source_file.
(complete_symtab): Use set_last_source_file.
(read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
(scan_xcoff_symtab): Use set_last_source_file.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6a15e40..6323056 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,29 @@ 2013-01-21 Tom Tromey <tromey@redhat.com> + * buildsym.c (patch_subfile_names): Use set_last_source_file. + (start_symtab): Make 'name' and 'dirname' const. Use + set_last_source_file. + (restart_symtab, reset_symtab_globals): Use set_last_source_file. + (last_source_file): Define. Now static. + (set_last_source_file, get_last_source_file): New functions. + * buildsym.h (last_source_file): Don't declare. + (start_symtab): Update. + (set_last_source_file, get_last_source_file): Declare. + * coffread.c (complete_symtab): Use set_last_source_file. + (coff_end_symtab): Likewise. + (coff_symtab_read): Use set_last_source_file, get_last_source_file. + * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use + set_last_source_file. + (process_one_symbol): Use get_last_source_file. + * mdebugread.c (parse_partial_symbols): Use set_last_source_file. + (psymtab_to_symtab_1): Use get_last_source_file. + * xcoffread.c (process_linenos): Use get_last_source_file. + (complete_symtab): Use set_last_source_file. + (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. + (scan_xcoff_symtab): Use set_last_source_file. + +2013-01-21 Tom Tromey <tromey@redhat.com> + * symtab.c (struct demangled_name_entry) <mangled>: Now const. (symbol_set_names): Remove casts. Handle field const-ness. |