aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb.c')
-rw-r--r--gdb/gdb.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/gdb.c b/gdb/gdb.c
index 74f806e..bc5e6cc 100644
--- a/gdb/gdb.c
+++ b/gdb/gdb.c
@@ -20,21 +20,16 @@
#include "main.h"
#include "gdb_string.h"
#include "interps.h"
-#include <mcheck.h>
int
main (int argc, char **argv)
{
struct captured_main_args args;
- int ret;
- mtrace ();
memset (&args, 0, sizeof args);
args.argc = argc;
args.argv = argv;
args.use_windows = 0;
args.interpreter_p = INTERP_CONSOLE;
- ret = gdb_main (&args);
- muntrace();
- return ret;
+ return gdb_main (&args);
}