OSDN Git Service

* 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)
commit13c7ba581e3b703f0e2821936863dede73bbb755
treedff76b75f0dad040fcc9af7a180d92194d94b317
parent33b4350fa5ca6da4ae6b0780c8ba2a5c19203bf7
* 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