From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23015 invoked by alias); 18 Oct 2002 19:34:52 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 22981 invoked from network); 18 Oct 2002 19:34:50 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 18 Oct 2002 19:34:50 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 182dp9-0002mD-00; Fri, 18 Oct 2002 15:34:23 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 182ctb-0000kh-00; Fri, 18 Oct 2002 15:34:55 -0400 Date: Fri, 18 Oct 2002 12:34:00 -0000 From: Daniel Jacobowitz To: Mike Cleary , cagney@redhat.com Cc: gdb@sources.redhat.com, clp Subject: Re: gdb make error Message-ID: <20021018193455.GA2698@nevyn.them.org> Mail-Followup-To: Mike Cleary , cagney@redhat.com, gdb@sources.redhat.com, clp References: <3DB06158.2030901@iol.unh.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DB06158.2030901@iol.unh.edu> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-10/txt/msg00134.txt.bz2 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 * 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 * 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