summaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-05-29 18:54:50 +0000
committerDoug Evans <dje@google.com>2012-05-29 18:54:50 +0000
commit0a0edcd5c2947ab8fea2f080e121d7ade585e967 (patch)
tree54149e4871bd164f8d066cf57812ffcf4086443e /gdb/buildsym.c
parentd416e51da0f5e79c66f1d609068e83fff4add35a (diff)
downloadbinutils-gdb-0a0edcd5c2947ab8fea2f080e121d7ade585e967.tar.gz
* stabsread.h (cleanup_undefined_stabs_types): Renamed from
cleanup_undefined_types. * stabsread.c (cleanup_undefined_stabs_types): Ditto. All callers updated.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index ae7f90e976a..d41f26d88d4 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -49,7 +49,7 @@
#include "buildsym.h" /* Our own declarations. */
#undef EXTERN
-/* For cleanup_undefined_types and finish_global_stabs (somewhat
+/* For cleanup_undefined_stabs_types and finish_global_stabs (somewhat
questionable--see comment where we call them). */
#include "stabsread.h"
@@ -1001,13 +1001,13 @@ end_symtab (CORE_ADDR end_addr, struct objfile *objfile, int section)
(this needs to be done before the finish_blocks so that
file_symbols is still good).
- Both cleanup_undefined_types and finish_global_stabs are stabs
+ Both cleanup_undefined_stabs_types and finish_global_stabs are stabs
specific, but harmless for other symbol readers, since on gdb
startup or when finished reading stabs, the state is set so these
are no-ops. FIXME: Is this handled right in case of QUIT? Can
we make this cleaner? */
- cleanup_undefined_types (objfile);
+ cleanup_undefined_stabs_types (objfile);
finish_global_stabs (objfile);
if (pending_blocks == NULL