* defs.h, utils.c (free_current_contents): Change parameter to
authorAndrew Cagney <cagney@redhat.com>
Fri, 21 Apr 2000 04:10:18 +0000 (04:10 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 21 Apr 2000 04:10:18 +0000 (04:10 +0000)
commit2f9429aea399b8ff5c1d2d8f7dd0b5e14202f1e8
treeb79970c8cd4311360bd46b55935949224f31e326
parent61c37cee5da9d08b107ec331b1080f1982f5afa1
* defs.h, utils.c (free_current_contents): Change parameter to
void*.

From Philippe De Muyter  <phdm@macqel.be>:
* printcmd.c (print_address_symbolic): Call `make_cleanup' with
`(free_current_contents, &x)', not `(free, x)'.
* utils.c (free_current_contents): Do not `free (NULL)'.

* printcmd.c (print_address_symbolic): Cleanup after a failed
call to build_address_symbolic.
gdb/ChangeLog
gdb/defs.h
gdb/printcmd.c
gdb/utils.c