aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2015-02-10 11:01:21 +0000
committerPedro Alves <palves@redhat.com>2015-02-11 11:32:38 +0000
commit18ad82c16379e7ed7daa3043abdacee1d934867d (patch)
treeca3f81c0debbb53c7936f33c1b07f2eed24c357d /gdb/xcoffread.c
parente36122e9d76b35474c49aa1873e50e12c7b722b6 (diff)
downloadgdb-18ad82c16379e7ed7daa3043abdacee1d934867d.zip
gdb-18ad82c16379e7ed7daa3043abdacee1d934867d.tar.gz
gdb-18ad82c16379e7ed7daa3043abdacee1d934867d.tar.bz2
xcoffread.c: delete 'within_function' definition
Linking GDB as a C++ program, we get: src/gdb/buildsym.c:226: multiple definition of `within_function' xcoffread.o:src/gdb/xcoffread.c:181: first defined here gdb/ 2015-02-11 Pedro Alves <palves@redhat.com> * xcoffread.c (within_function): Delete.
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index dde9185..6015711 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -119,11 +119,6 @@ static CORE_ADDR first_object_file_end;
#define INITIAL_STABVECTOR_LENGTH 40
-/* Nonzero if within a function (so symbols should be local,
- if nothing says specifically). */
-
-int within_function;
-
/* Size of a COFF symbol. I think it is always 18, so I'm not sure
there is any reason not to just use a #define, but might as well
ask BFD for the size and store it here, I guess. */