This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb make error
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Mike Cleary <mcleary at iol dot unh dot edu>, cagney at redhat dot com
- Cc: gdb at sources dot redhat dot com, clp <clp at iol dot unh dot edu>
- Date: Fri, 18 Oct 2002 15:34:55 -0400
- Subject: Re: gdb make error
- References: <3DB06158.2030901@iol.unh.edu>
Oops, Andrew missed a couple:
./config/alpha/nm-nbsd.h:#define CANNOT_STEP_BREAKPOINT
./config/alpha/nm-linux.h:#define CANNOT_STEP_BREAKPOINT
./config/alpha/nm-fbsd.h:#define CANNOT_STEP_BREAKPOINT
./config/alpha/nm-osf.h:#define CANNOT_STEP_BREAKPOINT
2002-10-02 Andrew Cagney <ac131313@redhat.com>
* infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C.
* gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add.
* gdbarch.h, gdbarch.c: Re-generate.
I've committed the fix:
2002-10-18 Daniel Jacobowitz <drow@mvista.com>
* config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1.
* config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1.
Index: config/alpha/nm-fbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-fbsd.h,v
retrieving revision 1.3
diff -u -p -r1.3 nm-fbsd.h
--- config/alpha/nm-fbsd.h 6 Mar 2001 08:21:21 -0000 1.3
+++ config/alpha/nm-fbsd.h 18 Oct 2002 19:31:29 -0000
@@ -32,7 +32,7 @@
#define ATTACH_DETACH
/* The Alpha does not step over a breakpoint. */
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
/* Shared library support. */
Index: config/alpha/nm-linux.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-linux.h,v
retrieving revision 1.11
diff -u -p -r1.11 nm-linux.h
--- config/alpha/nm-linux.h 5 Jun 2002 19:18:15 -0000 1.11
+++ config/alpha/nm-linux.h 18 Oct 2002 19:31:29 -0000
@@ -39,7 +39,7 @@
/* The alpha does not step over a breakpoint, the manpage is lying again. */
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
/* Given a pointer to either a gregset_t or fpregset_t, return a
pointer to the first register. */
Index: config/alpha/nm-nbsd.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-nbsd.h,v
retrieving revision 1.3
diff -u -p -r1.3 nm-nbsd.h
--- config/alpha/nm-nbsd.h 22 May 2002 03:59:53 -0000 1.3
+++ config/alpha/nm-nbsd.h 18 Oct 2002 19:31:29 -0000
@@ -26,6 +26,6 @@
#include "config/nm-nbsd.h"
/* The Alpha does not step over a breakpoint. */
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
#endif /* NM_NBSD_H */
Index: config/alpha/nm-osf.h
===================================================================
RCS file: /cvs/src/src/gdb/config/alpha/nm-osf.h,v
retrieving revision 1.5
diff -u -p -r1.5 nm-osf.h
--- config/alpha/nm-osf.h 26 Apr 2002 01:22:41 -0000 1.5
+++ config/alpha/nm-osf.h 18 Oct 2002 19:31:29 -0000
@@ -32,7 +32,7 @@
/* The alpha does not step over a breakpoint, the manpage is lying again. */
-#define CANNOT_STEP_BREAKPOINT
+#define CANNOT_STEP_BREAKPOINT 1
/* Support for shared libraries. */
On Fri, Oct 18, 2002 at 03:30:32PM -0400, Mike Cleary wrote:
> Greetings,
> I have found the following make error for gdb on an alpha with the
> alphaev56 configuration the bootstrap-gcc_2.95.3 baseline with the
> toolchain package, it also occurs with the basic-gcc_2.95.3 in the
> toolchain package:
>
> gcc -c -g -O2 -I. -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb
> -I/mnt/u9/toolchain
> /buildsys/source/toolchain/gdb/config
> -DLOCALEDIR="\"/mnt/u9/toolchain/buildsys/install/al
> pha9/bootstrap-gcc_2.95.3/native/toolchain/share/locale\""
> -DHAVE_CONFIG_H -I/mnt/u9/toolc
> hain/buildsys/source/toolchain/gdb/../include/opcode
> -I/mnt/u9/toolchain/buildsys/source/t
> oolchain/gdb/../readline/.. -I../bfd
> -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../
> bfd -DNO_MMALLOC
> -I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../include -I../intl -
> I/mnt/u9/toolchain/buildsys/source/toolchain/gdb/../intl -DMI_OUT=1
> -DGDBTK -DUI_OUT=1 -W
> implicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses
> -Wpointer-arith -Wunin
> itialized /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: In function
> `resume':
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:866: parse
> error before `)'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874:
> `resume_ptid' undeclared (fi
> rst use in this function)
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: (Each
> undeclared identifier
> is reported only once
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:874: for each
> function it appears
> in.)
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c: At top level:
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning:
> type defaults to `i
> nt' in declaration of `discard_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning:
> parameter names (wi
> thout types) in function declaration
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877:
> conflicting types for `disca
> rd_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/defs.h:328: previous
> declaration of `disca
> rd_cleanups'
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:877: warning:
> data definition has
> no type or storage class
> /mnt/u9/toolchain/buildsys/source/toolchain/gdb/infrun.c:878: parse
> error before `}'
> make[2]: *** [infrun.o] Error 1
> make[2]: Leaving directory
> `/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_2.95.3/n
> ative/toolchain/gdb'
> make[1]: *** [all-gdb] Error 2
> make[1]: Leaving directory
> `/mnt/u9/toolchain/buildsys/build/alpha9/bootstrap-gcc_2.95.3/n
> ative/toolchain'
> make: *** [bootstrap] Error 2
>
> I was wondering if anyone can help me with this.
> Salutations,
> -Mike
>
> --
> ***********************************************
> Michael Cleary Email: mcleary@iol.unh.edu
> UNH InterOperability Lab Linux Group
> 121 Technology Dr., Suite 2, Durham, NH 03824
> Phone: 603-862-0401 http://linux.iol.unh.edu
> ***********************************************
>
>
>
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer