* sol-thread.c (restore_inferior_pid): Save the PID in a freshly
authorAndrew Cagney <cagney@redhat.com>
Wed, 7 Feb 2001 03:44:24 +0000 (03:44 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 7 Feb 2001 03:44:24 +0000 (03:44 +0000)
commitf042532cc45b763942ffff337e6b20c9f864525b
treee3170220e750527427e5b9c74b117a5392e0b39c
parent58cfabe6f8b559d79be8946424e263e5ecc955f2
* 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.
gdb/ChangeLog
gdb/sol-thread.c
gdb/utils.c