This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
pending/1015: Re: pending/1012: Re: gdb/93: Nuke PTR
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: ac131313 at cygnus dot com, cagney at redhat dot com, gdb-gnats at sources dot redhat dot com, gdb-prs at sources dot redhat dot com, nobody at sources dot redhat dot com
- Date: Fri, 31 Jan 2003 18:04:18 -0500
- Subject: pending/1015: Re: pending/1012: Re: gdb/93: Nuke PTR
- References: <200301311656.h0VGueY31312@duracef.shout.net>
>Number: 1015
>Category: pending
>Synopsis: Re: pending/1012: Re: gdb/93: Nuke PTR
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Fri Jan 31 23:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
>Description:
>>Number: 1012
> Just a note: gdb HEAD%20030131 still has some PTR uses.
>
> c-exp.y: { free ((PTR)$2); $$ = 0; }
> f-exp.y: { free ((PTR)$2); $$ = 0; }
> objc-exp.y: { free ((PTR)$2); $$ = 0; }
Thanks. The ARI scripts ignore .y files - too many nasties.
> utils.c:extern PTR malloc ();
> utils.c:extern PTR realloc ();
> utils.c:/* NOTE: These must use PTR so that their definition matches the
> utils.c:/* NOTE: These are declared using PTR to ensure consistency with
> utils.c:PTR
> utils.c:PTR
> utils.c:xrealloc (PTR ptr, size_t size)
> utils.c:PTR
> utils.c:/* Make a copy of the string at PTR with SIZE characters
These are needed. Per the comment the function definitions need to
match include/libiberty.h. I'll mark these up so that people know that
they are ok.
> So maybe this PR should be 'open' or 'suspended', not 'closed'.
> But I won't mind if it stays 'closed'.
Andrew
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: