gdb errors in world
This may be a stupid question, but is gdbreplay currently broken? I just cvsup'd today (2002-07-08, 18:42 CST (GMT-6)) cc -O -pipe -D_GNU_SOURCE -I. -I/usr/src/gnu/usr.bin/binutils/gdbreplay -I/usr/src/gnu/usr.bin/binutils/gdbreplay/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/gdbreplay/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/binutils/gdbreplay/../gdb -I/usr/src/gnu/usr.bin/binutils/gdbreplay/../../../../contrib/gdb/gdb -I/usr/src/gnu/usr.bin/binutils/gdbreplay/../../../../contrib/gdb/gdb/config -I/usr/src/gnu/usr.bin/binutils/gdbreplay/../../../../contrib/gdb/gdb/gdbserver -DNO_MMALLOC -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c cc1: warnings being treated as errors /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:45: warning: no previous prototype for `perror_with_name' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: In function `perror_with_name': /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:55: warning: implicit declaration of function `alloca' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:55: warning: implicit declaration of function `strlen' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:56: warning: implicit declaration of function `strcpy' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:57: warning: implicit declaration of function `strcat' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:61: warning: implicit declaration of function `exit' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: At top level: /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:76: warning: no previous prototype for `remote_close' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: In function `remote_close': /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:77: warning: implicit declaration of function `close' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: At top level: /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:85: warning: no previous prototype for `remote_open' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: In function `remote_open': /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:76: warning: no previous prototype for `remote_close' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: In function `remote_close': /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:77: warning: implicit declaration of function `close' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: At top level: /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:85: warning: no previous prototype for `remote_open' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: In function `remote_open': /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:86: warning: function declaration isn't a prototype /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:104: warning: implicit declaration of function `atoi' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: At top level: /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:235: warning: no previous prototype for `expect' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: In function `expect': /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:251: warning: implicit declaration of function `read' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: At top level: /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:266: warning: no previous prototype for `play' /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c: In function `play': /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:278: warning: implicit declaration of function `write' *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils/gdbreplay. *** Error code 1 -- -Erik [EMAIL PROTECTED] [http://math.smsu.edu/~erik] The opinions expressed by me are not necessarily opinions. In all probability, they are random rambling, and to be ignored. Failure to ignore may result in severe boredom or confusion. Shake well before opening. Keep Refrigerated. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: gdb errors in world
Erik Greenwald [EMAIL PROTECTED] writes: This may be a stupid question, but is gdbreplay currently broken? I just cvsup'd today (2002-07-08, 18:42 CST (GMT-6)) Yes (unless I missed the fix). Just use NO_WERROR=true for now. Best regards, Mike Barcroft To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: gdb errors in world
On Mon, Jul 08, 2002 at 08:37:37PM -0500, Erik Greenwald wrote: This may be a stupid question, but is gdbreplay currently broken? I just cvsup'd today (2002-07-08, 18:42 CST (GMT-6)) *shrug* I can't reproduce this. cc -O -pipe -D_GNU_SOURCE -I. -I/usr/src/gnu/usr.bin/binutils/gdbreplay ... -DNO_MMALLOC -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes ^^^ /usr/src/contrib/gdb/gdb/gdbserver/gdbreplay.c:278: warning: implicit declaration of function `write' *** Error code 1 It isn't broken, rather it isn't WARNS/WFORMAT clean for you. I'm not sure why it is for me. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message