This is the mail archive of the gdb-testers@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Stan, I built on HP-UX and ran into four issues in building gdb. Two of them I had previously also reported against 4.17.85 and two are new in 4.17.86: 1. sim/Makefile.in has a commented out line that confuses our Make. This is patch.01, and was also previously reported against 4.17.85. 2. gdb/remote.c and gdb/target.c mixes C prototypes and old-style functions with parameter types that are not the same when default argument promotions are applied. This is patch.02 and was also previously reported against 4.17.85. 3. gdb/infttrace.c, the function proc_wait was renamed, but looks like this file was skipped. This is patch.03 and is new in 4.17.86. 4. gdb/jv-lang.h mixes C prototypes and old-style functions with parameter types that are not same when default argument promotions are applied. This is the same problem as #2, but new in 4.17.86. --mev, Mike Vermeulen # This is a shell archive. Remove anything before this line, # then unpack it by saving it in a file and typing "sh file". # # Wrapped by Mike Vermeulen <mev@flytrap> on Sun Mar 14 13:54:11 1999 # # This archive contains: # patch.01 patch.02 patch.03 patch.04 # LANG=""; export LANG PATH=/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:$PATH; export PATH echo x - patch.01 cat >patch.01 <<'@EOF' diff -c gdb-4.17.85/sim/Makefile.in gdb-4.17.85.patched/sim/Makefile.in *** gdb-4.17.85/sim/Makefile.in Thu May 28 12:05:30 1998 --- gdb-4.17.85.patched/sim/Makefile.in Sat Feb 27 11:53:11 1999 *************** *** 95,101 **** "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ "SHELL=$(SHELL)" ! # "RUNTEST=$(RUNTEST)" \ # The use of $$(x_FOR_TARGET) reduces the command line length by not # duplicating the lengthy definition. --- 95,101 ---- "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ "SHELL=$(SHELL)" ! # "RUNTEST=$(RUNTEST)" # The use of $$(x_FOR_TARGET) reduces the command line length by not # duplicating the lengthy definition. *************** *** 119,125 **** "MAKEINFO=$(MAKEINFO)" \ "RUNTESTFLAGS=$(RUNTESTFLAGS)" ! # "RUNTEST=$(RUNTEST)" \ all: --- 119,125 ---- "MAKEINFO=$(MAKEINFO)" \ "RUNTESTFLAGS=$(RUNTESTFLAGS)" ! # "RUNTEST=$(RUNTEST)" all: Common subdirectories: gdb-4.17.85/sim/arm and gdb-4.17.85.patched/sim/arm Common subdirectories: gdb-4.17.85/sim/common and gdb-4.17.85.patched/sim/common Common subdirectories: gdb-4.17.85/sim/d10v and gdb-4.17.85.patched/sim/d10v Common subdirectories: gdb-4.17.85/sim/d30v and gdb-4.17.85.patched/sim/d30v Common subdirectories: gdb-4.17.85/sim/erc32 and gdb-4.17.85.patched/sim/erc32 Common subdirectories: gdb-4.17.85/sim/fr30 and gdb-4.17.85.patched/sim/fr30 Common subdirectories: gdb-4.17.85/sim/h8300 and gdb-4.17.85.patched/sim/h8300 Common subdirectories: gdb-4.17.85/sim/h8500 and gdb-4.17.85.patched/sim/h8500 Common subdirectories: gdb-4.17.85/sim/i960 and gdb-4.17.85.patched/sim/i960 Common subdirectories: gdb-4.17.85/sim/igen and gdb-4.17.85.patched/sim/igen Common subdirectories: gdb-4.17.85/sim/m32r and gdb-4.17.85.patched/sim/m32r Common subdirectories: gdb-4.17.85/sim/mips and gdb-4.17.85.patched/sim/mips Common subdirectories: gdb-4.17.85/sim/mn10200 and gdb-4.17.85.patched/sim/mn10200 Common subdirectories: gdb-4.17.85/sim/mn10300 and gdb-4.17.85.patched/sim/mn10300 Common subdirectories: gdb-4.17.85/sim/ppc and gdb-4.17.85.patched/sim/ppc Common subdirectories: gdb-4.17.85/sim/sh and gdb-4.17.85.patched/sim/sh Common subdirectories: gdb-4.17.85/sim/testsuite and gdb-4.17.85.patched/sim/testsuite Common subdirectories: gdb-4.17.85/sim/v850 and gdb-4.17.85.patched/sim/v850 Common subdirectories: gdb-4.17.85/sim/w65 and gdb-4.17.85.patched/sim/w65 Common subdirectories: gdb-4.17.85/sim/z8k and gdb-4.17.85.patched/sim/z8k @EOF chmod 664 patch.01 echo x - patch.02 cat >patch.02 <<'@EOF' Common subdirectories: gdb-4.17.85/gdb/29k-share and gdb-4.17.85.patched/gdb/29k-share Common subdirectories: gdb-4.17.85/gdb/config and gdb-4.17.85.patched/gdb/config Common subdirectories: gdb-4.17.85/gdb/doc and gdb-4.17.85.patched/gdb/doc Common subdirectories: gdb-4.17.85/gdb/gdbserver and gdb-4.17.85.patched/gdb/gdbserver Common subdirectories: gdb-4.17.85/gdb/nindy-share and gdb-4.17.85.patched/gdb/nindy-share Common subdirectories: gdb-4.17.85/gdb/nlm and gdb-4.17.85.patched/gdb/nlm Common subdirectories: gdb-4.17.85/gdb/osf-share and gdb-4.17.85.patched/gdb/osf-share Common subdirectories: gdb-4.17.85/gdb/rdi-share and gdb-4.17.85.patched/gdb/rdi-share diff -c gdb-4.17.85/gdb/remote.c gdb-4.17.85.patched/gdb/remote.c *** gdb-4.17.85/gdb/remote.c Wed Feb 3 09:02:03 1999 --- gdb-4.17.85.patched/gdb/remote.c Sat Feb 27 12:00:53 1999 *************** *** 293,299 **** static int stubhex PARAMS ((int ch)); ! static int remote_query PARAMS ((char, char *, char *, int *)); static int hexnumstr PARAMS ((char *, ULONGEST)); --- 293,299 ---- static int stubhex PARAMS ((int ch)); ! static int remote_query PARAMS ((int, char *, char *, int *)); static int hexnumstr PARAMS ((char *, ULONGEST)); *************** *** 315,321 **** static char *pack_nibble PARAMS ((char *buf, int nibble)); ! static char *pack_hex_byte PARAMS ((char *pkt, unsigned char byte)); static char *unpack_byte PARAMS ((char *buf, int *value)); --- 315,321 ---- static char *pack_nibble PARAMS ((char *buf, int nibble)); ! static char *pack_hex_byte PARAMS ((char *pkt, int byte)); static char *unpack_byte PARAMS ((char *buf, int *value)); diff -c gdb-4.17.85/gdb/target.c gdb-4.17.85.patched/gdb/target.c *** gdb-4.17.85/gdb/target.c Mon Jan 18 16:49:41 1999 --- gdb-4.17.85.patched/gdb/target.c Sat Feb 27 11:59:53 1999 *************** *** 175,181 **** debug_to_stop PARAMS ((void)); static int ! debug_to_query PARAMS ((char, char *, char *, int *)); /* Pointer to array of target architecture structures; the size of the array; the current index into the array; the allocated size of the --- 175,181 ---- debug_to_stop PARAMS ((void)); static int ! debug_to_query PARAMS ((int, char *, char *, int *)); /* Pointer to array of target architecture structures; the size of the array; the current index into the array; the allocated size of the Common subdirectories: gdb-4.17.85/gdb/testsuite and gdb-4.17.85.patched/gdb/testsuite Common subdirectories: gdb-4.17.85/gdb/tui and gdb-4.17.85.patched/gdb/tui Common subdirectories: gdb-4.17.85/gdb/vx-share and gdb-4.17.85.patched/gdb/vx-share @EOF chmod 664 patch.02 echo x - patch.03 cat >patch.03 <<'@EOF' Common subdirectories: gdb-4.17.86.orig/gdb/29k-share and gdb-4.17.86/gdb/29k-share diff -cr gdb-4.17.86.orig/gdb/ChangeLog gdb-4.17.86/gdb/ChangeLog *** gdb-4.17.86.orig/gdb/ChangeLog Fri Mar 12 07:38:13 1999 --- gdb-4.17.86/gdb/ChangeLog Sun Mar 14 12:59:50 1999 *************** *** 1,3 **** --- 1,7 ---- + Sun Mar 14 12:59:28 1999 Mike Vermeulen <mev@ladybug.cup.hp.com> + + * infttrace.c: (proc_wait): Rename to ptrace_wait. + 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com> Merged changes for HP/UX 9 from Jason Molenda: Common subdirectories: gdb-4.17.86.orig/gdb/config and gdb-4.17.86/gdb/config Common subdirectories: gdb-4.17.86.orig/gdb/doc and gdb-4.17.86/gdb/doc Common subdirectories: gdb-4.17.86.orig/gdb/gdbserver and gdb-4.17.86/gdb/gdbserver diff -cr gdb-4.17.86.orig/gdb/infttrace.c gdb-4.17.86/gdb/infttrace.c *** gdb-4.17.86.orig/gdb/infttrace.c Fri Mar 12 07:02:13 1999 --- gdb-4.17.86/gdb/infttrace.c Sun Mar 14 12:59:01 1999 *************** *** 2523,2529 **** } /* This function is provided as a sop to clients that are calling ! * proc_wait to wait for a process to stop. (see the * implementation of child_wait.) Return value is the pid for * the event that ended the wait. * --- 2523,2529 ---- } /* This function is provided as a sop to clients that are calling ! * ptrace_wait to wait for a process to stop. (see the * implementation of child_wait.) Return value is the pid for * the event that ended the wait. * *************** *** 2530,2536 **** * Note: used by core gdb and so uses the pseudo-pid (really tid). */ int ! proc_wait (pid, status) int pid; int *status; { --- 2530,2536 ---- * Note: used by core gdb and so uses the pseudo-pid (really tid). */ int ! ptrace_wait (pid, status) int pid; int *status; { *************** *** 5586,5592 **** /* If the current pid is not the pid this module reported ! * from "proc_wait" with the most recent event, then the * user has switched threads. * * If the last reported event was a breakpoint, then return --- 5586,5592 ---- /* If the current pid is not the pid this module reported ! * from "ptrace_wait" with the most recent event, then the * user has switched threads. * * If the last reported event was a breakpoint, then return Common subdirectories: gdb-4.17.86.orig/gdb/nindy-share and gdb-4.17.86/gdb/nindy-share Common subdirectories: gdb-4.17.86.orig/gdb/nlm and gdb-4.17.86/gdb/nlm Common subdirectories: gdb-4.17.86.orig/gdb/osf-share and gdb-4.17.86/gdb/osf-share Common subdirectories: gdb-4.17.86.orig/gdb/rdi-share and gdb-4.17.86/gdb/rdi-share diff -cr gdb-4.17.86.orig/gdb/remote.c gdb-4.17.86/gdb/remote.c *** gdb-4.17.86.orig/gdb/remote.c Wed Feb 3 09:02:03 1999 --- gdb-4.17.86/gdb/remote.c Sun Mar 14 12:22:05 1999 *************** *** 293,299 **** static int stubhex PARAMS ((int ch)); ! static int remote_query PARAMS ((char, char *, char *, int *)); static int hexnumstr PARAMS ((char *, ULONGEST)); --- 293,299 ---- static int stubhex PARAMS ((int ch)); ! static int remote_query PARAMS ((int, char *, char *, int *)); static int hexnumstr PARAMS ((char *, ULONGEST)); *************** *** 315,321 **** static char *pack_nibble PARAMS ((char *buf, int nibble)); ! static char *pack_hex_byte PARAMS ((char *pkt, unsigned char byte)); static char *unpack_byte PARAMS ((char *buf, int *value)); --- 315,321 ---- static char *pack_nibble PARAMS ((char *buf, int nibble)); ! static char *pack_hex_byte PARAMS ((char *pkt, int byte)); static char *unpack_byte PARAMS ((char *buf, int *value)); Only in gdb-4.17.86/gdb: remote.c.orig diff -cr gdb-4.17.86.orig/gdb/target.c gdb-4.17.86/gdb/target.c *** gdb-4.17.86.orig/gdb/target.c Mon Jan 18 16:49:41 1999 --- gdb-4.17.86/gdb/target.c Sun Mar 14 12:23:04 1999 *************** *** 175,181 **** debug_to_stop PARAMS ((void)); static int ! debug_to_query PARAMS ((char, char *, char *, int *)); /* Pointer to array of target architecture structures; the size of the array; the current index into the array; the allocated size of the --- 175,181 ---- debug_to_stop PARAMS ((void)); static int ! debug_to_query PARAMS ((int, char *, char *, int *)); /* Pointer to array of target architecture structures; the size of the array; the current index into the array; the allocated size of the Only in gdb-4.17.86/gdb: target.c.orig Common subdirectories: gdb-4.17.86.orig/gdb/testsuite and gdb-4.17.86/gdb/testsuite Common subdirectories: gdb-4.17.86.orig/gdb/tui and gdb-4.17.86/gdb/tui Common subdirectories: gdb-4.17.86.orig/gdb/vx-share and gdb-4.17.86/gdb/vx-share Common subdirectories: gdb-4.17.86.orig/gdb/29k-share/udi and gdb-4.17.86/gdb/29k-share/udi Common subdirectories: gdb-4.17.86.orig/gdb/config/a29k and gdb-4.17.86/gdb/config/a29k Common subdirectories: gdb-4.17.86.orig/gdb/config/alpha and gdb-4.17.86/gdb/config/alpha Common subdirectories: gdb-4.17.86.orig/gdb/config/arc and gdb-4.17.86/gdb/config/arc Common subdirectories: gdb-4.17.86.orig/gdb/config/arm and gdb-4.17.86/gdb/config/arm Common subdirectories: gdb-4.17.86.orig/gdb/config/convex and gdb-4.17.86/gdb/config/convex Common subdirectories: gdb-4.17.86.orig/gdb/config/d10v and gdb-4.17.86/gdb/config/d10v Common subdirectories: gdb-4.17.86.orig/gdb/config/d30v and gdb-4.17.86/gdb/config/d30v Common subdirectories: gdb-4.17.86.orig/gdb/config/fr30 and gdb-4.17.86/gdb/config/fr30 Common subdirectories: gdb-4.17.86.orig/gdb/config/gould and gdb-4.17.86/gdb/config/gould Common subdirectories: gdb-4.17.86.orig/gdb/config/h8300 and gdb-4.17.86/gdb/config/h8300 Common subdirectories: gdb-4.17.86.orig/gdb/config/h8500 and gdb-4.17.86/gdb/config/h8500 Common subdirectories: gdb-4.17.86.orig/gdb/config/i386 and gdb-4.17.86/gdb/config/i386 Common subdirectories: gdb-4.17.86.orig/gdb/config/i960 and gdb-4.17.86/gdb/config/i960 Common subdirectories: gdb-4.17.86.orig/gdb/config/m32r and gdb-4.17.86/gdb/config/m32r Common subdirectories: gdb-4.17.86.orig/gdb/config/m68k and gdb-4.17.86/gdb/config/m68k Common subdirectories: gdb-4.17.86.orig/gdb/config/m88k and gdb-4.17.86/gdb/config/m88k Common subdirectories: gdb-4.17.86.orig/gdb/config/mips and gdb-4.17.86/gdb/config/mips Common subdirectories: gdb-4.17.86.orig/gdb/config/mn10200 and gdb-4.17.86/gdb/config/mn10200 Common subdirectories: gdb-4.17.86.orig/gdb/config/mn10300 and gdb-4.17.86/gdb/config/mn10300 Common subdirectories: gdb-4.17.86.orig/gdb/config/none and gdb-4.17.86/gdb/config/none Common subdirectories: gdb-4.17.86.orig/gdb/config/ns32k and gdb-4.17.86/gdb/config/ns32k Common subdirectories: gdb-4.17.86.orig/gdb/config/pa and gdb-4.17.86/gdb/config/pa Common subdirectories: gdb-4.17.86.orig/gdb/config/powerpc and gdb-4.17.86/gdb/config/powerpc Common subdirectories: gdb-4.17.86.orig/gdb/config/pyr and gdb-4.17.86/gdb/config/pyr Common subdirectories: gdb-4.17.86.orig/gdb/config/romp and gdb-4.17.86/gdb/config/romp Common subdirectories: gdb-4.17.86.orig/gdb/config/rs6000 and gdb-4.17.86/gdb/config/rs6000 Common subdirectories: gdb-4.17.86.orig/gdb/config/sh and gdb-4.17.86/gdb/config/sh Common subdirectories: gdb-4.17.86.orig/gdb/config/sparc and gdb-4.17.86/gdb/config/sparc Common subdirectories: gdb-4.17.86.orig/gdb/config/tahoe and gdb-4.17.86/gdb/config/tahoe Common subdirectories: gdb-4.17.86.orig/gdb/config/v850 and gdb-4.17.86/gdb/config/v850 Common subdirectories: gdb-4.17.86.orig/gdb/config/vax and gdb-4.17.86/gdb/config/vax Common subdirectories: gdb-4.17.86.orig/gdb/config/w65 and gdb-4.17.86/gdb/config/w65 Common subdirectories: gdb-4.17.86.orig/gdb/config/z8k and gdb-4.17.86/gdb/config/z8k Common subdirectories: gdb-4.17.86.orig/gdb/osf-share/AT386 and gdb-4.17.86/gdb/osf-share/AT386 Common subdirectories: gdb-4.17.86.orig/gdb/osf-share/HP800 and gdb-4.17.86/gdb/osf-share/HP800 Common subdirectories: gdb-4.17.86.orig/gdb/osf-share/RIOS and gdb-4.17.86/gdb/osf-share/RIOS Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/config and gdb-4.17.86/gdb/testsuite/config Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.asm and gdb-4.17.86/gdb/testsuite/gdb.asm Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.base and gdb-4.17.86/gdb/testsuite/gdb.base Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.c++ and gdb-4.17.86/gdb/testsuite/gdb.c++ Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.chill and gdb-4.17.86/gdb/testsuite/gdb.chill Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.disasm and gdb-4.17.86/gdb/testsuite/gdb.disasm Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.fortran and gdb-4.17.86/gdb/testsuite/gdb.fortran Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.hp and gdb-4.17.86/gdb/testsuite/gdb.hp Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.stabs and gdb-4.17.86/gdb/testsuite/gdb.stabs Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.threads and gdb-4.17.86/gdb/testsuite/gdb.threads Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/gdb.trace and gdb-4.17.86/gdb/testsuite/gdb.trace Common subdirectories: gdb-4.17.86.orig/gdb/testsuite/lib and gdb-4.17.86/gdb/testsuite/lib @EOF chmod 664 patch.03 echo x - patch.04 cat >patch.04 <<'@EOF' *** gdb-4.17.86/gdb/jv-lang.h Sun Mar 14 13:36:31 1999 --- gdb-4.17.86.orig/gdb/jv-lang.h Fri Mar 12 07:38:16 1999 *************** *** 53,59 **** extern struct type *type_from_class PARAMS ((struct value *)); ! extern struct type *java_primitive_type PARAMS ((int type_code)); extern struct type *java_primitive_type_from_name PARAMS ((char*, int)); --- 53,59 ---- extern struct type *type_from_class PARAMS ((struct value *)); ! extern struct type *java_primitive_type PARAMS ((char type_code)); extern struct type *java_primitive_type_from_name PARAMS ((char*, int)); @EOF chmod 664 patch.04 exit 0