Re: [patch] multi-arch INIT_FRAME_PC*; Was: New gdb 31 & 64 bit patches for S/390

Andrew Cagney
2001-06-17T09:58:00Z

Michael,

I've checked in the attached as an obvious fix. I'll follow this up
with a more pig-headed gdbarch.sh (#error) so that the problem gets
detected earlier.

Andrew
From ac131313@cygnus.com Sun Jun 17 10:47:00 2001
From: Andrew Cagney <ac131313@cygnus.com>
To: gdb-patches@sources.redhat.com
Subject: [patch] treat conflicting multi-arch macros as an error
Date: Sun, 17 Jun 2001 10:47:00 -0000
Message-id: <3B2CED49.90809@cygnus.com>
X-SW-Source: 2001-06/msg00335.html
Content-length: 126

Per other e-mail. This should cause a compilation failure when there is
a conflicting multi-arch macro definition.

Andrew
From chastain@cygnus.com Sun Jun 17 11:15:00 2001
From: Michael Elizabeth Chastain <chastain@cygnus.com>
To: ac131313@cygnus.com
Cc: 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 11:15:00 -0000
Message-id: <200106171816.LAA21467@bosch.cygnus.com>
X-SW-Source: 2001-06/msg00336.html
Content-length: 252

> PS: Michael, time to use -Werror.

I'll try it. Is this the right incantation?

/.../.../configure ... --enable-build-warnings=-Wimplicit,-Wreturn-type,-Wcomment,-Wtrigraphs,-Wformat,-Wparentheses,-Wpointer-arith,-Wuninitialized,-Werror

Michael