aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-20 11:04:16 -0600
committerTom Tromey <tom@tromey.com>2018-07-16 08:55:16 -0600
commit81cc346dc98678c5d196c7110795d8f2edfd8f50 (patch)
tree3f41b4af4ff0a6d0d562b4231bf7d49463982b40 /gdb/dbxread.c
parent2c99ee5c4f44d52258fa176563cc6a4cfbf0069d (diff)
downloadgdb-81cc346dc98678c5d196c7110795d8f2edfd8f50.zip
gdb-81cc346dc98678c5d196c7110795d8f2edfd8f50.tar.gz
gdb-81cc346dc98678c5d196c7110795d8f2edfd8f50.tar.bz2
Move processing_acc_compilation to dbxread.c
processing_acc_compilation is only used in dbxread.c, so move it there. gdb/ChangeLog 2018-07-16 Tom Tromey <tom@tromey.com> * dbxread.c (processing_acc_compilation): New global. * buildsym.h (processing_acc_compilation): Don't declare.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index f6059a8..ba0483e 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -145,6 +145,14 @@ static unsigned int next_file_string_table_offset;
static int symfile_relocatable = 0;
+/* When set, we are processing a .o file compiled by sun acc. This is
+ misnamed; it refers to all stabs-in-elf implementations which use
+ N_UNDF the way Sun does, including Solaris gcc. Hopefully all
+ stabs-in-elf implementations ever invented will choose to be
+ compatible. */
+
+static unsigned char processing_acc_compilation;
+
/* The lowest text address we have yet encountered. This is needed
because in an a.out file, there is no header field which tells us