aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-05-10 01:43:04 +0000
committerFred Fish <fnf@specifix.com>1992-05-10 01:43:04 +0000
commitf9b5584c8ef0ade5f768c2fdedfb581ae01de65a (patch)
tree33274323aa180dc874d7610af07299b608c0ea82 /gdb/Makefile.in
parent1e939db1573f1c1c81b7bd659783dfd8754022bd (diff)
downloadgdb-f9b5584c8ef0ade5f768c2fdedfb581ae01de65a.zip
gdb-f9b5584c8ef0ade5f768c2fdedfb581ae01de65a.tar.gz
gdb-f9b5584c8ef0ade5f768c2fdedfb581ae01de65a.tar.bz2
* Makefile.in (VERSION): Bump to 4.5.3
* Makefile.in (DEMANGLE_OPTS): Remove obsolete -Dnounderscore * Makefile.in (demangle): New target to create standalone demangler with same code and options as internal demangler. * cplus-dem.c: Massive restructuring, rewriting, cleanups, etc to support ARM style and Lucid style demangling, improve maintainability, fix several demangling bugs. More changes to follow. * defs.h (strstr): Add ANSI compatible prototype. * valprint.c (type_print_1): Demangle using ansi option. * config/ncr3000.mt (DEMANGLE_OPTS): Remove -Dnounderscore.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in25
1 files changed, 14 insertions, 11 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index a5f9243..5ec73b4 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -165,7 +165,7 @@ CDEPS = ${XM_CDEPS} ${TM_CDEPS} ${BFD_LIB} ${MMALLOC_LIB} ${LIBIBERTY} \
ADD_FILES = ${REGEX} ${ALLOCA} ${XM_ADD_FILES} ${TM_ADD_FILES}
ADD_DEPS = ${REGEX1} ${ALLOCA1} ${XM_ADD_FILES} ${TM_ADD_FILES}
-VERSION = 4.5.2
+VERSION = 4.5.3
DIST=gdb
LINT=/usr/5bin/lint
@@ -174,12 +174,12 @@ LINTFLAGS= -I${BFD_DIR}
# Select demangler to use.
DEMANGLER=cplus-dem
-# Select options to use when compiling ${DEMANGLER}.c. The default is to
-# use -Dnounderscore, which is correct for most targets, and also
-# defaults to g++ style demangling. For other demangling styles, such
-# as the Annotated C++ Reference Manual (section 7.2.1c) style, set
-# this define in the target-dependent makefile fragment.
-DEMANGLE_OPTS=-Dnounderscore
+# Select options to use when compiling ${DEMANGLER}.c. The default is no
+# options, which is correct for most targets, and also defaults to g++ style
+# demangling. For other demangling styles, such as the Annotated C++
+# Reference Manual (section 7.2.1c) style, set this define in the target-
+# dependent makefile fragment.
+DEMANGLE_OPTS=
# Host and target-dependent makefile fragments come in here.
####
@@ -729,14 +729,17 @@ gdb.cxref: $(SFILES)
force_update:
-# When used with GDB, the demangler should never look for leading
-# underscores because GDB strips them off during symbol read-in. Thus
-# -Dnounderscore.
+# Generate the demangler linked in with gdb. Also create a standalone
+# demangler if so desired ("make demangle").
-${DEMANGLER}.o: ${DEMANGLER}.c
+${DEMANGLER}.o: ${DEMANGLER}.c
${CC} -c ${INTERNAL_CFLAGS} ${DEMANGLE_OPTS} \
`echo ${srcdir}/${DEMANGLER}.c | sed 's,^\./,,'`
+demangle: ${DEMANGLER}.c
+ ${CC} -o $@ -DMAIN ${INTERNAL_CFLAGS} ${DEMANGLE_OPTS} \
+ `echo ${srcdir}/${DEMANGLER}.c | sed 's,^\./,,'`
+
# GNU Make has an annoying habit of putting *all* the Makefile variables
# into the environment, unless you include this target as a circumvention.
# Rumor is that this will be fixed (and this target can be removed)