From 710249ebc9b10af079ae286b880c4ac0497ba7f2 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Tue, 23 Jun 1992 20:18:21 +0000 Subject: [PATCH] Add patch to Makefile.in to default the demangling style to ARM/Lucid instead of gcc style. Remove the mipsread.c patch fragment that added #include . It is unnecessary, and causes compile failures on NCR/SVR4. --- gdb/cadillac-patches | 42 ++++++++++++++++++++++++++---------------- 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/gdb/cadillac-patches b/gdb/cadillac-patches index 7d15ba5d658..2d145fe18e4 100755 --- a/gdb/cadillac-patches +++ b/gdb/cadillac-patches @@ -1,6 +1,32 @@ # Apply these patches to GDB to produce an Energize GDB. # To apply these patches, first cd to gdb-XX/gdb, then run patch -p0 < thisfile. =================================================================== +diff -rc Makefile.in.orig Makefile.in +*** Makefile.in.orig Tue Jun 23 08:59:44 1992 +--- Makefile.in Tue Jun 23 12:00:54 1992 +*************** +*** 182,188 **** + # 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. + #### +--- 182,193 ---- + # 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. +! # +! # For Energize, default to using style specified in the Annotated C++ +! # Reference Manual, section 7.2.1c, which is what is used by the Lucid C++ +! # compiler for most things. But there are places where Lucid varies from +! # the ARM, so select the Lucid specific code also. +! DEMANGLE_OPTS=-DARM_DEMANGLING -DLUCID_DEMANGLING + + # Host and target-dependent makefile fragments come in here. + #### +=================================================================== RCS file: /local/cvsfiles/devo/gdb/.Sanitize,v retrieving revision 2.55 diff -c -r2.55 .Sanitize @@ -580,22 +606,6 @@ diff -c -r1.47 main.c } =================================================================== -RCS file: /local/cvsfiles/devo/gdb/mipsread.c,v -retrieving revision 1.71 -diff -c -r1.71 mipsread.c -*** 1.71 1992/06/17 18:14:19 ---- mipsread.c 1992/06/23 04:19:41 -*************** -*** 67,72 **** ---- 67,73 ---- - #include - #include - #include -+ #include - - #include "coff/mips.h" /* COFF-like aspects of ecoff files */ - #include "coff/ecoff-ext.h" /* External forms of ecoff sym structures */ -=================================================================== RCS file: /local/cvsfiles/devo/gdb/printcmd.c,v retrieving revision 1.28 diff -c -r1.28 printcmd.c -- 2.30.2