aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2005-05-12 16:01:08 +0000
committerDaniel Jacobowitz <drow@false.org>2005-05-12 16:01:08 +0000
commit847f5ce8dadda349a73bcc89395d8da272e837f2 (patch)
treef359dc819fb97cc1e014ffe5e0f472290e53aa78
parent15c3c5c65b6cda5791130a57145cc6feee04fdaf (diff)
downloadgdb-847f5ce8dadda349a73bcc89395d8da272e837f2.zip
gdb-847f5ce8dadda349a73bcc89395d8da272e837f2.tar.gz
gdb-847f5ce8dadda349a73bcc89395d8da272e837f2.tar.bz2
* cp-names.y: Renamed to ...
* cp-name-parser.y: ... this. * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to cp-name-parser.y. (test-cp-names.o): Renamed to test-cp-name-parser.o. (test-cp-names): Renamed to test-cp-name-parser. (clean, local-maintainer-clean): Update. (cp-names.o): Renamed to cp-name-parser.o.
-rw-r--r--gdb/ChangeLog11
-rw-r--r--gdb/Makefile.in22
-rw-r--r--gdb/cp-name-parser.y (renamed from gdb/cp-names.y)0
3 files changed, 23 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index da4fd29..67aacd7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,14 @@
+2005-05-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * cp-names.y: Renamed to ...
+ * cp-name-parser.y: ... this.
+ * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
+ cp-name-parser.y.
+ (test-cp-names.o): Renamed to test-cp-name-parser.o.
+ (test-cp-names): Renamed to test-cp-name-parser.
+ (clean, local-maintainer-clean): Update.
+ (cp-names.o): Renamed to cp-name-parser.o.
+
2005-05-12 Eli Zaretskii <eliz@gnu.org>
* observer.sh: Use observer.tmp instead of observer.inc-tmp which
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 61f1ece..e042660 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -519,7 +519,7 @@ SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c \
charset.c cli-out.c coffread.c coff-pe-read.c \
complaints.c completer.c corefile.c \
cp-abi.c cp-support.c cp-namespace.c cp-valprint.c \
- cp-names.y \
+ cp-name-parser.y \
dbxread.c demangle.c dictionary.c disasm.c doublest.c dummy-frame.c \
dwarfread.c dwarf2expr.c dwarf2loc.c dwarf2read.c dwarf2-frame.c \
elfread.c environ.c eval.c event-loop.c event-top.c expprint.c \
@@ -946,13 +946,13 @@ SUBDIRS = @subdirs@
# For now, shortcut the "configure GDB for fewer languages" stuff.
YYFILES = c-exp.c \
- cp-names.c \
+ cp-name-parser.c \
objc-exp.c \
ada-exp.c \
jv-exp.c \
f-exp.c m2-exp.c p-exp.c
YYOBJ = c-exp.o \
- cp-names.o \
+ cp-name-parser.o \
objc-exp.o \
ada-exp.o \
jv-exp.o \
@@ -1084,12 +1084,14 @@ uninstall-tui:
$(DESTDIR)$(man1dir)/$$transformed_name.1
# The C++ name parser can be built standalone for testing.
-test-cp-names.o: cp-names.c $(safe_ctype_h) $(libiberty_h) $(demangle_h)
+test-cp-name-parser.o: cp-name-parser.c $(safe_ctype_h) $(libiberty_h) \
+ $(demangle_h)
$(CC) -c $(INTERNAL_CFLAGS) -DTEST_CPNAMES \
- -o test-cp-names.o cp-names.c
+ -o test-cp-name-parser.o cp-name-parser.c
-test-cp-names$(EXEEXT): test-cp-names.o $(LIBIBERTY)
- $(CC) -o test-cp-names$(EXEEXT) test-cp-names.o $(LIBIBERTY)
+test-cp-name-parser$(EXEEXT): test-cp-name-parser.o $(LIBIBERTY)
+ $(CC_LD) $(INTERNAL_LDFLAGS) -o test-cp-name-parser$(EXEEXT) \
+ test-cp-name-parser.o $(LIBIBERTY)
# We do this by grepping through sources. If that turns out to be too slow,
# maybe we could just require every .o file to have an initialization routine
@@ -1245,7 +1247,7 @@ clean mostlyclean: $(CONFIG_CLEAN)
rm -f init.c version.c
rm -f gdb$(EXEEXT) core make.log
rm -f gdb[0-9]$(EXEEXT)
- rm -f test-cp-names$(EXEEXT)
+ rm -f test-cp-name-parser$(EXEEXT)
.PHONY: clean-tui
clean-tui:
@@ -1274,7 +1276,7 @@ local-maintainer-clean:
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
rm -f c-exp.c \
- cp-names.c \
+ cp-name-parser.c \
ada-lex.c ada-exp.c \
objc-exp.c \
jv-exp.tab \
@@ -1826,7 +1828,7 @@ core-regset.o: core-regset.c $(defs_h) $(command_h) $(gdbcore_h) \
$(inferior_h) $(target_h) $(gdb_string_h) $(gregset_h)
cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(command_h) $(gdbcmd_h) \
$(ui_out_h) $(gdb_string_h)
-cp-names.o: cp-names.c $(safe_ctype_h) $(libiberty_h) $(demangle_h)
+cp-name-parser.o: cp-name-parser.c $(safe_ctype_h) $(libiberty_h) $(demangle_h)
cp-namespace.o: cp-namespace.c $(defs_h) $(cp_support_h) $(gdb_obstack_h) \
$(symtab_h) $(symfile_h) $(gdb_assert_h) $(block_h) $(objfiles_h) \
$(gdbtypes_h) $(dictionary_h) $(command_h) $(frame_h)
diff --git a/gdb/cp-names.y b/gdb/cp-name-parser.y
index 889ef91..889ef91 100644
--- a/gdb/cp-names.y
+++ b/gdb/cp-name-parser.y