From 9b98dea2e7e7aa6e660af133b37e2294c8f42275 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Fri, 8 May 1992 14:49:44 +0000 Subject: [PATCH] propogate INSTALL, INSTALL_DATA, INSTALL_PROGRAM on recursions --- gdb/ChangeLog | 25 +++++++++++++++++++++++++ gdb/Makefile.in | 16 +++++++++++----- 2 files changed, 36 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 94b659957cd..fd3371d3010 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,28 @@ +Fri May 8 07:48:27 1992 K. Richard Pixley (rich@cygnus.com) + + * Makefile.in: propogate INSTALL, INSTALL_DATA, INSTALL_PROGRAM on + recursions. + +Thu May 7 10:00:52 1992 Stu Grossman (grossman at cygnus.com) + + * am29k-pinsn.c: Use new opcode table in "opcode/a29k.h". + * am29k-tdep.c: Update to latest code from AMD. + (get_saved_register) don't crap out if no frame. + * remote-udi.c: Set/clear inferior_pid as appropriate. + (udi_open) call target_preopen, don't close fd 0!!!, clean up + error handling. Fixup end-of-debugging messages. + (udi_fetch_registers) clean up big time, mainly don't multiply + register_valid indices by 4, and use proper Offset when reading + gr96-gr127. (udi_store_registers) general cleanup. + (fetch_register) cleanup, simplify. (regnum_to_srnum) + INT_REGNUM->INTE_REGNUM. + * tm-29k.h: Upgrade to latest code from AMD. + * 29k-share/udi/udip2soc.c: Get rid of useless errmsg_m macro. + (UDIConnect) Clean up error processing (like, don't do exit() if + execlp fails), make code restartable, make more attractive. + (UDIStop) Use SIGINT instead of SIGUSR1, as isstip won't stop + otherwise. + Wed May 6 14:34:18 1992 Per Bothner (bothner@rtl.cygnus.com) * tm-irix3.h: Re-define CPLUS_MARKER to '.'. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 467aa9d83b9..b75489cddce 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -171,7 +171,10 @@ DIST=gdb LINT=/usr/5bin/lint LINTFLAGS= -I${BFD_DIR} -# Select options to use when compiling cplus-dem.c. The default is to +# 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 @@ -191,7 +194,7 @@ SFILES_MAINDIR = \ main.c printcmd.c gdbtypes.c \ remote.c source.c stack.c symmisc.c symtab.c symfile.c \ utils.c valarith.c valops.c valprint.c values.c c-exp.y m2-exp.y \ - cplus-dem.c mem-break.c target.c inftarg.c \ + ${DEMANGLER}.c mem-break.c target.c inftarg.c \ dbxread.c coffread.c elfread.c dwarfread.c xcoffread.c \ ieee-float.c language.c parse.c buildsym.c objfiles.c \ minsyms.c mipsread.c @@ -289,7 +292,7 @@ OBS = main.o blockframe.o breakpoint.o findvar.o stack.o source.o \ values.o eval.o valops.o valarith.o valprint.o printcmd.o \ symtab.o symfile.o symmisc.o infcmd.o infrun.o remote.o \ command.o utils.o expprint.o environ.o version.o gdbtypes.o \ - copying.o $(DEPFILES) cplus-dem.o mem-break.o target.o \ + copying.o $(DEPFILES) ${DEMANGLER}.o mem-break.o target.o \ inftarg.o ieee-float.o putenv.o parse.o language.o $(YYOBJ) \ buildsym.o objfiles.o minsyms.o \ dbxread.o coffread.o elfread.o dwarfread.o xcoffread.o mipsread.o @@ -598,6 +601,9 @@ subdir_do: force "CFLAGS=$(CFLAGS)" \ "RANLIB=$(RANLIB)" \ "MAKEINFO=$(MAKEINFO)" \ + "INSTALL=$(INSTALL)" \ + "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ + "INSTALL_DATA=$(INSTALL_DATA)" \ "BISON=$(BISON)" $(DO)) ; then true ; \ else exit 1 ; fi ; \ else true ; fi ; \ @@ -727,9 +733,9 @@ force_update: # underscores because GDB strips them off during symbol read-in. Thus # -Dnounderscore. -cplus-dem.o: cplus-dem.c +${DEMANGLER}.o: ${DEMANGLER}.c ${CC} -c ${INTERNAL_CFLAGS} ${DEMANGLE_OPTS} \ - `echo ${srcdir}/cplus-dem.c | sed 's,^\./,,'` + `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. -- 2.30.2