This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Fwd: gdb/520: AIX_CORE_DUMPX_CORE should be defined for AIX5]
- From: Tom Rix <trix at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 30 Apr 2002 23:19:41 -0500
- Subject: Re: [Fwd: gdb/520: AIX_CORE_DUMPX_CORE should be defined for AIX5]
- References: <3CCF4895.4010807@cygnus.com>
Andrew Cagney wrote:
> FYI, my change was close but not close enough.
>
> Andrew
>
Andrew,
This is confusing. In the current sources here is the snippet from
bfd/configure dealing with AIX cores:
rs6000-*-aix5.* | powerpc-*-aix5.*)
COREFILE=rs6000-core.lo
COREFLAG="$COREFLAG -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE"
;;
rs6000-*-aix4.[4-9]* | powerpc-*-aix4.[4-9]* | \
rs6000-*-aix4.3.[3-9]* | powerpc-*-aix4.3.[3-9]*)
COREFILE=rs6000-core.lo
COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
It looks like this patch is adding aix5 support but it is already there.
What version of binutils is this patch derrived from?
Tom
>
> ------------------------------------------------------------------------
>
> Subject: gdb/520: AIX_CORE_DUMPX_CORE should be defined for AIX5
> Resent-Date: 30 Apr 2002 22:48:32 -0000
> Resent-From: gdb-gnats@sources.redhat.com (GNATS Filer)
> Resent-To: nobody@sources.redhat.com
> Resent-CC: gdb-prs@sources.redhat.com
> Date: 30 Apr 2002 22:42:19 -0000
> From: zardoz@users.sourceforge.net
> To: gdb-gnats@sources.redhat.com
>
> >Number: 520
> >Category: gdb
> >Synopsis: AIX_CORE_DUMPX_CORE should be defined for AIX5
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Tue Apr 30 15:48:31 PDT 2002
> >Closed-Date:
> >Last-Modified:
> >Originator: zardoz@users.sf.net
> >Release: gdb-5.2
> >Organization:
> >Environment:
> AIX5.1
> >Description:
> new style coredump from AIX4.3+ will not be recognized by a AIX5 gdb
> >How-To-Repeat:
> Try to debug a core on default configured aix5 system.
> Fix was tested on aix5.1
> >Fix:
> --- gdb-5.2/bfd/configure Sun Apr 7 14:49:50 2002
> +++ gdb-5.2_len/bfd/configure Mon Apr 29 17:55:19 2002
> @@ -5169,7 +5169,8 @@
> ;;
> rs6000-*-lynx*) COREFILE=lynx-core.lo ;;
> rs6000-*-aix4.[4-9]* | powerpc-*-aix4.[4-9]* | \
> - rs6000-*-aix4.3.[3-9]* | powerpc-*-aix4.3.[3-9]*)
> + rs6000-*-aix4.3.[3-9]* | powerpc-*-aix4.3.[3-9]* | \
> + rs6000-*-aix5.* | powerpc-*-aix5.* )
> COREFILE=rs6000-core.lo
> COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
> ;;
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
--
Tom Rix
GCC Engineer
trix@redhat.com