From: Fred Fish Date: Sat, 27 Jun 1992 19:41:24 +0000 (+0000) Subject: Update Cadillac patch kit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd0975d11ac66f7b5f18c79a9202526bb29cd36f;p=binutils-gdb.git Update Cadillac patch kit. --- diff --git a/gdb/cadillac-patches b/gdb/cadillac-patches index 0a569337df1..74fff634249 100755 --- a/gdb/cadillac-patches +++ b/gdb/cadillac-patches @@ -1,37 +1,12 @@ # 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. +# To apply these patches, first cd to gdb-XX/gdb, run "patch -p0 enable = disabled; if (xgdb_verbose && bpt->type == bp_breakpoint) -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/command.c,v -retrieving revision 1.15 -diff -c -r1.15 command.c -*** 1.15 1992/06/23 03:33:41 ---- command.c 1992/06/23 04:19:26 +diff -rc command.c command.c +*** command.c Mon Jun 22 20:33:41 1992 +--- command.c Sat Jun 27 12:30:01 1992 *************** *** 1149,1155 **** } @@ -309,15 +350,58 @@ diff -c -r1.15 command.c ; else error ("Fork failed"); -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/defs.h,v -retrieving revision 1.36 -diff -c -r1.36 defs.h -*** 1.36 1992/06/15 14:26:55 ---- defs.h 1992/06/16 01:24:19 -*************** -*** 774,777 **** ---- 774,846 ---- +diff -rc config/amix.mh config/amix.mh +*** config/amix.mh Tue Jun 9 19:05:16 1992 +--- config/amix.mh Sat Jun 27 12:31:29 1992 +*************** +*** 22,24 **** +--- 22,31 ---- + + # SVR4 puts the BSD compatible install in /usr/ucb. + INSTALL = /usr/ucb/install -c ++ ++ # These are the libs that are needed for the Cadillac version of gdb on ++ # SVR4. Note that we MUST include the standard C library before libucb.a, ++ # otherwise we get lots of broken stuff we don't want. ++ CONNECTION_LIB = deblib/connection/libconn.a ++ CADILLAC_LIBS = ${CONNECTION_LIB} -L/usr/lib -lm -lnet -lresolv -lform \ ++ -lsocket -lc /usr/ucblib/libucb.a -lnsl +diff -rc config/ncr3000.mh config/ncr3000.mh +*** config/ncr3000.mh Mon Jun 15 12:25:13 1992 +--- config/ncr3000.mh Sat Jun 27 12:31:30 1992 +*************** +*** 38,40 **** +--- 38,47 ---- + # The /usr/ucb/install program is incompatible (complains about unknown + # group staff). Use good old cp... + INSTALL = cp ++ ++ # These are the libs that are needed for the Cadillac version of gdb on ++ # SVR4. Note that we MUST include the standard C library before libucb.a, ++ # otherwise we get lots of broken stuff we don't want. ++ CONNECTION_LIB = deblib/connection/libconn.a ++ CADILLAC_LIBS = ${CONNECTION_LIB} -L/usr/lib -lm -lnet -lresolv -lform \ ++ -lsocket -lc /usr/ucblib/libucb.a -lnsl +diff -rc configure.in configure.in +*** configure.in Mon Jun 22 17:25:00 1992 +--- configure.in Sat Jun 27 12:31:29 1992 +*************** +*** 1,4 **** +! configdirs="doc" + srcname="GDB" + srctrigger=main.c + target_dependent=true +--- 1,4 ---- +! configdirs="deblib doc" + srcname="GDB" + srctrigger=main.c + target_dependent=true +diff -rc defs.h defs.h +*** defs.h Thu Jun 25 04:50:31 1992 +--- defs.h Sat Jun 27 12:30:02 1992 +*************** +*** 770,773 **** +--- 770,842 ---- extern CORE_ADDR push_word (); @@ -391,12 +475,9 @@ diff -c -r1.36 defs.h + extern void cadillac_disable_breakpoint PARAMS ((struct breakpoint *)); + #endif /* !defined (DEFS_H) */ -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/inflow.c,v -retrieving revision 1.25 -diff -c -r1.25 inflow.c -*** 1.25 1992/05/17 23:54:22 ---- inflow.c 1992/06/15 23:02:32 +diff -rc inflow.c inflow.c +*** inflow.c Tue Jun 23 21:49:19 1992 +--- inflow.c Sat Jun 27 12:30:03 1992 *************** *** 81,87 **** static short pgrp_inferior; @@ -414,15 +495,12 @@ diff -c -r1.25 inflow.c static int pgrp_ours; # endif /* not def SHORT_PGRP */ #else /* not def TIOCGPGRP */ -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/infrun.c,v -retrieving revision 1.49 -diff -c -r1.49 infrun.c -*** 1.49 1992/06/23 00:24:50 ---- infrun.c 1992/06/23 04:19:35 -*************** -*** 615,620 **** ---- 615,622 ---- +diff -rc infrun.c infrun.c +*** infrun.c Tue Jun 23 21:49:22 1992 +--- infrun.c Sat Jun 27 12:30:04 1992 +*************** +*** 617,622 **** +--- 617,624 ---- Here we must get it up to actual execution of the real program. */ inferior_pid = pid; /* Needed for wait_for_inferior stuff below */ @@ -432,8 +510,8 @@ diff -c -r1.49 infrun.c clear_proceed_status (); *************** -*** 753,758 **** ---- 755,762 ---- +*** 755,760 **** +--- 757,764 ---- attach (pid); inferior_pid = pid; @@ -442,12 +520,9 @@ diff -c -r1.49 infrun.c push_target (&child_ops); mark_breakpoints_out (); -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/inftarg.c,v -retrieving revision 1.11 -diff -c -r1.11 inftarg.c -*** 1.11 1992/03/29 23:21:27 ---- inftarg.c 1992/06/15 23:56:08 +diff -rc inftarg.c inftarg.c +*** inftarg.c Sun Mar 29 15:21:27 1992 +--- inftarg.c Sat Jun 27 12:30:04 1992 *************** *** 58,64 **** #ifdef USE_PROC_FS @@ -468,12 +543,9 @@ diff -c -r1.11 inftarg.c #endif if (pid == -1) /* No more children to wait for */ { -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/main.c,v -retrieving revision 1.47 -diff -c -r1.47 main.c -*** 1.47 1992/06/09 06:09:23 ---- main.c 1992/06/13 03:32:16 +diff -rc main.c main.c +*** main.c Mon Jun 8 23:09:23 1992 +--- main.c Sat Jun 27 12:30:05 1992 *************** *** 397,402 **** --- 397,403 ---- @@ -605,12 +677,9 @@ diff -c -r1.47 main.c fflush (stdout); } -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/printcmd.c,v -retrieving revision 1.28 -diff -c -r1.28 printcmd.c -*** 1.28 1992/06/13 18:20:41 ---- printcmd.c 1992/06/14 22:11:35 +diff -rc printcmd.c printcmd.c +*** printcmd.c Thu Jun 25 03:58:47 1992 +--- printcmd.c Sat Jun 27 12:30:05 1992 *************** *** 778,783 **** --- 778,792 ---- @@ -641,8 +710,8 @@ diff -c -r1.28 printcmd.c if (inspect) printf("\") )\030"); *************** -*** 1608,1618 **** ---- 1619,1639 ---- +*** 1610,1620 **** +--- 1621,1641 ---- standard indentation here is 4 spaces, and val_print indents 2 for each recurse. */ val = read_var_value (sym, FRAME_INFO_ID (fi)); @@ -664,12 +733,9 @@ diff -c -r1.28 printcmd.c first = 0; } -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/stack.c,v -retrieving revision 1.30 -diff -c -r1.30 stack.c -*** 1.30 1992/06/20 23:30:33 ---- stack.c 1992/06/23 04:19:48 +diff -rc stack.c stack.c +*** stack.c Sat Jun 20 16:30:33 1992 +--- stack.c Sat Jun 27 12:30:06 1992 *************** *** 159,165 **** if (addressprint) @@ -749,12 +815,9 @@ diff -c -r1.30 stack.c } wrap_here (" "); if (sal.symtab) -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/symfile.c,v -retrieving revision 1.53 -diff -c -r1.53 symfile.c -*** 1.53 1992/06/13 16:20:12 ---- symfile.c 1992/06/14 22:11:39 +diff -rc symfile.c symfile.c +*** symfile.c Sat Jun 13 09:20:12 1992 +--- symfile.c Sat Jun 27 12:30:06 1992 *************** *** 555,560 **** --- 555,563 ---- @@ -767,12 +830,9 @@ diff -c -r1.53 symfile.c return (objfile); } -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/utils.c,v -retrieving revision 1.50 -diff -c -r1.50 utils.c -*** 1.50 1992/06/15 14:27:07 ---- utils.c 1992/06/16 01:24:28 +diff -rc utils.c utils.c +*** utils.c Mon Jun 15 07:27:07 1992 +--- utils.c Sat Jun 27 12:30:07 1992 *************** *** 96,101 **** --- 96,102 ---- @@ -882,12 +942,9 @@ diff -c -r1.50 utils.c /* Don't do any filtering if it is disabled. */ if (stream != stdout || (lines_per_page == UINT_MAX && chars_per_line == UINT_MAX)) -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/valprint.c,v -retrieving revision 1.42 -diff -c -r1.42 valprint.c -*** 1.42 1992/06/23 03:33:47 ---- valprint.c 1992/06/23 04:19:55 +diff -rc valprint.c valprint.c +*** valprint.c Tue Jun 23 23:24:51 1992 +--- valprint.c Sat Jun 27 12:30:07 1992 *************** *** 485,490 **** --- 485,491 ---- @@ -901,7 +958,7 @@ diff -c -r1.42 valprint.c *************** *** 549,554 **** --- 550,563 ---- - fputs_filtered (TYPE_FIELD_NAME (type, i), stream); + fprint_symbol (stream, TYPE_FIELD_NAME (type, i)); fputs_filtered (" = ", stream); } + @@ -962,21 +1019,3 @@ diff -c -r1.42 valprint.c } if (i < len) fprintf_filtered (stream, "..."); -=================================================================== -RCS file: /local/cvsfiles/devo/gdb/config/ncr3000.mh,v -retrieving revision 1.4 -diff -c -r1.4 config/ncr3000.mh -*** 1.4 1992/06/15 19:25:13 ---- config/ncr3000.mh 1992/06/16 01:28:40 -*************** -*** 38,40 **** ---- 38,46 ---- - # The /usr/ucb/install program is incompatible (complains about unknown - # group staff). Use good old cp... - INSTALL = cp -+ -+ # These are the libs that are needed for the Cadillac version of gdb on -+ # SVR4. Note that we MUST include the standard C library before libucb.a, -+ # otherwise we get lots of broken stuff we don't want. -+ CADILLAC_LIBS = ${srcdir}/deblib/connection/libconn.a -L/usr/lib -lm -lnet \ -+ -lresolv -lform -lsocket -lc /usr/ucblib/libucb.a -lnsl