This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pending/1015: Re: pending/1012: Re: gdb/93: Nuke PTR


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]