This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/92: Nuke CONST_PTR
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: chastain at redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 12 Feb 2002 17:58:01 -0000
- Subject: Re: gdb/92: Nuke CONST_PTR
- Reply-to: Andrew Cagney <ac131313 at cygnus dot com>
The following reply was made to PR gdb/92; it has been noted by GNATS.
From: Andrew Cagney <ac131313@cygnus.com>
To: ac131313@cygnus.com, Michael Elizabeth Chastain <mec@shout.net>,
gdb-prs@sources.redhat.com, gdb-gnats@sources.redhat.com
Cc:
Subject: Re: gdb/92: Nuke CONST_PTR
Date: Tue, 12 Feb 2002 12:49:26 -0500
> The rationale for CONST_PTR was to accommodate Microsoft compilers (ChangeLog-1996). gdb 4.18 and gdb 5.0 have conditional definitions for CONST_PTR. gdb 5.1 and gdb 5.1.1 have unconditional definitions.
>
Ah, better do some research. This is so weierd. Someone must have
added code, prior to 5.0, that would break on MSC. Hmm, first file I
look at (c-lang.c):
2.22(grossman 13-Aug-96): struct type ** CONST_PTR (c_builtin_types[]) =
2.24(taylor 31-Dec-98): struct type ** const (cplus_builtin_types[]) =
Bingo!
Andrew