This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] Fix some nasty casts
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: [rfc] Fix some nasty casts
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 06 Feb 2001 19:37:15 -0800
- References: <3A79AB96.E255247C@cygnus.com>
Andrew Cagney wrote:
> Thu Feb 1 00:29:42 2001 Andrew Cagney <cagney@redhat.com>
>
> * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
> allocated buffer.
> (save_inferior_pid): Restore the PID from that tempoary
> buffer. Delete the buffer.
> * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
FYI, I've checked this in.
Andrew