aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-20 12:06:43 -0600
committerTom Tromey <tom@tromey.com>2018-07-16 08:55:19 -0600
commit77d6f1aa16685bc715c95decf6e3d3ae2e70dbc1 (patch)
tree15818bceca4f1e587d313f2935ab94d056d57e4f /gdb/stabsread.c
parent2c722d18f32b1c1f82c7546b1e41edec47d88dce (diff)
downloadgdb-77d6f1aa16685bc715c95decf6e3d3ae2e70dbc1.zip
gdb-77d6f1aa16685bc715c95decf6e3d3ae2e70dbc1.tar.gz
gdb-77d6f1aa16685bc715c95decf6e3d3ae2e70dbc1.tar.bz2
Move scan_file_globals declaration to stabsread.h
scan_file_globals is defined in stabsread.c, so move its declaration to stabsread.h. gdb/ChangeLog 2018-07-16 Tom Tromey <tom@tromey.com> * stabsread.c (scan_file_globals): Update comment. * stabsread.h (scan_file_globals): Move from buildsym.h. * buildsym.h (scan_file_globals): Move to stabsread.h.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index a260fc7..50ca0e4 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -4589,9 +4589,7 @@ cleanup_undefined_stabs_types (struct objfile *objfile)
cleanup_undefined_types_noname (objfile);
}
-/* Scan through all of the global symbols defined in the object file,
- assigning values to the debugging symbols that need to be assigned
- to. Get these symbols from the minimal symbol table. */
+/* See stabsread.h. */
void
scan_file_globals (struct objfile *objfile)