aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-17 19:12:19 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-17 19:12:19 +0000
commit762f08a3976cceca00a4467cbc3eeae4d2edc3e4 (patch)
tree55e5879d12114e69579249ea78630705bd71df8d /gdb/main.c
parenta84d24ee80d7a8bb646d9e2b4ae3bf5bb7ff7a8d (diff)
downloadgdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.zip
gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.tar.gz
gdb-762f08a3976cceca00a4467cbc3eeae4d2edc3e4.tar.bz2
2003-01-17 Andrew Cagney <ac131313@redhat.com>
* main.c (captured_main): Don't use PTR. * cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp. * gdbtypes.c (lookup_primitive_typename): Ditto. (lookup_struct_elt_type): Ditto. * f-valprint.c (info_common_command): Ditto. (list_all_visible_commons): Ditto. * jv-typeprint.c (java_type_print_base): Ditto.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 503fd5d..fb24be9 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -173,7 +173,7 @@ captured_main (void *data)
#endif /* MPW */
/* This needs to happen before the first use of malloc. */
- init_malloc ((PTR) NULL);
+ init_malloc (NULL);
#if defined (ALIGN_STACK_ON_STARTUP)
i = (int) &count & 0x3;