Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: Michael Elizabeth Chastain <chastain@cygnus.com>,
	gdb-patches@sources.redhat.com
Subject: Re: [patch] multi-arch INIT_FRAME_PC*; Was: New gdb 31 & 64 bit patches for S/390
Date: Sun, 17 Jun 2001 09:26:00 -0000	[thread overview]
Message-ID: <3B2CDA4B.8030207@cygnus.com> (raw)
In-Reply-To: <3B2CD140.2050803@cygnus.com>

> 
> Michael, the sparc case has me stumped.  tm-sparc.h defines both INIT_FRAME_PC() and INIT_FRAME_PC_FIRST() so (as far as theories go :-) shouldn't be affected by the change.
> 
>  

Found it.  It needs to be native:

make[1]: Entering directory `/horton/cagney/GDB/native/gdb'
gcc -c -g -O  -I/usr/include/v9  -I. -I/horton/cagney/GDB/src/gdb -I/horton/cagn
ey/GDB/src/gdb/config -DHAVE_CONFIG_H -I/horton/cagney/GDB/src/gdb/../include/op
code -I/horton/cagney/GDB/src/gdb/../readline/.. -I../bfd -I/horton/cagney/GDB/s
rc/gdb/../bfd  -I/horton/cagney/GDB/src/gdb/../include -I../intl -I/horton/cagne
y/GDB/src/gdb/../intl  -DUI_OUT=1  -Werror /horton/cagney/GDB/src/gdb/main.c
In file included from /horton/cagney/GDB/src/gdb/defs.h:1148,
                 from /horton/cagney/GDB/src/gdb/main.c:22:
/horton/cagney/GDB/src/gdb/gdbarch.h:691: warning: `CANNOT_STORE_REGISTER' redef
ined
/horton/cagney/GDB/src/gdb/config/sparc/tm-sparc.h:412: warning: this is the loc
ation of the previous definition
/horton/cagney/GDB/src/gdb/gdbarch.h:830: warning: `INIT_FRAME_PC_FIRST' redefin
ed
/horton/cagney/GDB/src/gdb/config/sparc/tm-sparc.h:538: warning: this is the loc
ation of the previous definition
/horton/cagney/GDB/src/gdb/gdbarch.h:844: warning: `INIT_FRAME_PC' redefined
/horton/cagney/GDB/src/gdb/config/sparc/tm-sparc.h:535: warning: this is the loc
ation of the previous definition
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/horton/cagney/GDB/native/gdb'
make: *** [all-gdb] Error 2
status=2


I'm going to tweek gdbarch.sh so that it is more pig-headed about this.

	Andrew

PS: Michael, time to use -Werror.





  reply	other threads:[~2001-06-17  9:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-16 17:39 Michael Elizabeth Chastain
2001-06-17  8:51 ` Andrew Cagney
2001-06-17  9:26   ` Andrew Cagney [this message]
2001-06-17  9:58 ` Andrew Cagney
     [not found] <200106171816.LAA21467@bosch.cygnus.com>
2001-06-18  5:52 ` Andrew Cagney
  -- strict thread matches above, loose matches on Subject: below --
2001-06-16 16:14 Michael Elizabeth Chastain
     [not found] <200106161813.LAA20846@bosch.cygnus.com>
2001-06-16 12:35 ` Andrew Cagney
2001-02-27 12:39 DJBARROW
2001-06-15 16:09 ` [patch] multi-arch INIT_FRAME_PC*; Was: " 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=3B2CDA4B.8030207@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=chastain@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    /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