This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA : remove free_current_contents casts
- To: Philippe De Muyter <phdm at macqel dot be>
- Subject: Re: RFA : remove free_current_contents casts
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 26 Apr 2000 14:15:55 +1000
- CC: "gdb-patches at sourceware dot cygnus dot com" <gdb-patches at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions
- References: <200004241306.PAA29559@mail.macqel.be>
Philippe De Muyter wrote:
>
> Andrew,
>
> Now that you have fixed `free_current_contents' prototype, we could remove
> all the casts made to pass it to `make_cleanup'.
>
> OK to commit ?
Ok for the trunk.
(When comming up with the original patch I looked at adding a
make_cleanup_free_current_contents() wrapper but found that, unlike most
other cases, it didn't offer any compelling advantages - void** isn't
compatiable with an arbitrary double pointer :-( ).
Andrew