Heads up - Alpha ISO-C fixes
Andrew Cagney
ac131313@cygnus.com
Fri Mar 3 17:17:00 GMT 2000
Andrew Cagney wrote:
>
> FYI,
>
> The attatched patch:
>
> o purges PTR from the make_cleanup stuff
>
> o documents a problem with casting
> function pointers when calling make_cleanup()
>
> o makes the function type def signature
> consistent with other typedefs.
>
Attatched is the errata to this change :-(
Andrew
Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
utils.c (null_cleanup): Replace PTR with void*.
Index: gdb/defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.7
diff -p -r1.7 defs.h
*** defs.h 2000/03/04 01:05:48 1.7
--- defs.h 2000/03/04 01:11:37
*************** extern void restore_my_cleanups (struct
*** 334,340 ****
extern void free_current_contents (char **);
! extern void null_cleanup (PTR);
extern int myread (int, char *, int);
--- 334,340 ----
extern void free_current_contents (char **);
! extern void null_cleanup (void *);
extern int myread (int, char *, int);
More information about the Gdb-patches
mailing list