From: Daniel Jacobowitz <drow@mvista.com>
To: Mike Cleary <mcleary@iol.unh.edu>, cagney@redhat.com
Cc: gdb@sources.redhat.com, clp <clp@iol.unh.edu>
Subject: Re: gdb make error
Date: Fri, 18 Oct 2002 12:34:00 -0000 [thread overview]
Message-ID: <20021018193455.GA2698@nevyn.them.org> (raw)
In-Reply-To: <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
\f
/* 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
next prev parent reply other threads:[~2002-10-18 19:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 12:26 Mike Cleary
2002-10-18 12:34 ` Daniel Jacobowitz [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-06 11:47 Mike Cleary
2002-12-06 15:04 ` bemis
2002-12-05 13:44 Mike Cleary
2002-12-03 6:22 Mike Cleary
2002-10-08 6:12 Mike Cleary
2002-10-18 15:40 ` Andrew Cagney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021018193455.GA2698@nevyn.them.org \
--to=drow@mvista.com \
--cc=cagney@redhat.com \
--cc=clp@iol.unh.edu \
--cc=gdb@sources.redhat.com \
--cc=mcleary@iol.unh.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox