aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-21 04:10:18 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-21 04:10:18 +0000
commit2f9429aea399b8ff5c1d2d8f7dd0b5e14202f1e8 (patch)
treeb79970c8cd4311360bd46b55935949224f31e326 /gdb/defs.h
parent61c37cee5da9d08b107ec331b1080f1982f5afa1 (diff)
downloadgdb-2f9429aea399b8ff5c1d2d8f7dd0b5e14202f1e8.zip
gdb-2f9429aea399b8ff5c1d2d8f7dd0b5e14202f1e8.tar.gz
gdb-2f9429aea399b8ff5c1d2d8f7dd0b5e14202f1e8.tar.bz2
* 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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 86ad0f7..ff23f60 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -354,7 +354,7 @@ extern void restore_cleanups (struct cleanup *);
extern void restore_final_cleanups (struct cleanup *);
extern void restore_my_cleanups (struct cleanup **, struct cleanup *);
-extern void free_current_contents (char **);
+extern void free_current_contents (void *);
extern void null_cleanup (void *);