From 76a457c01659bb1926e302fb3abee2d70ade437f Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 10 Feb 1995 00:02:15 +0000 Subject: [PATCH] * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to after, any host/target/native libraries. * dcache.c (insque, remque): Remove declarations. * gdbtypes.h (type_code): Remove trailing comma. From Peter Schauer: * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef STATIC_NODEBUG_VARS inside case. --- gdb/ChangeLog | 11 +++++++++++ gdb/dcache.c | 3 --- gdb/gdbtypes.h | 2 +- gdb/xcoffread.c | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b7dbd7b..fb03eae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,14 @@ +Thu Feb 9 15:46:39 1995 Stan Shebs + + * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to + after, any host/target/native libraries. + * dcache.c (insque, remque): Remove declarations. + * gdbtypes.h (type_code): Remove trailing comma. + + From Peter Schauer: + * xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef + STATIC_NODEBUG_VARS inside case. + Thu Feb 9 07:43:41 1995 Jim Kingdon * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME. diff --git a/gdb/dcache.c b/gdb/dcache.c index aaa01d0..159c3ac 100644 --- a/gdb/dcache.c +++ b/gdb/dcache.c @@ -23,9 +23,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include "dcache.h" #include "gdbcmd.h" -extern int insque(); -extern int remque(); - int remote_dcache = 0; /* The data cache records all the data read from the remote machine diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index b530f8c..27166c1 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -120,7 +120,7 @@ enum type_code TYPE_CODE_BOOL, /* Fortran */ - TYPE_CODE_COMPLEX, /* Complex float */ + TYPE_CODE_COMPLEX /* Complex float */ }; /* For now allow source to use TYPE_CODE_CLASS for C++ classes, as an diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index a7dc46b..34acb06 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -1640,11 +1640,11 @@ read_xcoff_symtab (objfile, nsyms) /* Ignore these. */ break; -#ifdef STATIC_NODEBUG_VARS /* This is wrong. These symbols are XMC_TC, which means that the value of the symbol is the address of the TOC entry, not the address of the variable itself. */ case C_HIDEXT: +#ifdef STATIC_NODEBUG_VARS { /* This is the only place that static variables show up in files compiled without -g. External variables also have a C_EXT, -- 2.7.4