aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-08-10 22:36:39 +0000
committerAndrew Cagney <cagney@redhat.com>2004-08-10 22:36:39 +0000
commitcc503c8aa2d3163546a64753ebecddd804822be9 (patch)
treea2720e1764adb5a19952b0cb68984517c7b61c03 /gdb/main.c
parent2dc74dc1214738c22fc033d9d32eb8b4059bdba2 (diff)
downloadgdb-cc503c8aa2d3163546a64753ebecddd804822be9.zip
gdb-cc503c8aa2d3163546a64753ebecddd804822be9.tar.gz
gdb-cc503c8aa2d3163546a64753ebecddd804822be9.tar.bz2
2004-08-10 Andrew Cagney <cagney@gnu.org>
* main.c (captured_main): Delete call to init_malloc. * defs.h (init_malloc): Delete declaration. * utils.c (mmalloc, mrealloc, mcalloc, mfree) (init_malloc): Delete functions. Index: testsuite/ChangeLog 2004-08-10 Andrew Cagney <cagney@gnu.org> * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip init_malloc call.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 0042962..d331bc5 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -157,9 +157,6 @@ captured_main (void *data)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- /* This needs to happen before the first use of malloc. */
- init_malloc (NULL);
-
#ifdef HAVE_SBRK
lim_at_start = (char *) sbrk (0);
#endif