aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-12-29 10:18:51 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-12-29 10:18:51 +0000
commit457344df01247c1504fd583b24892e4fce7399cb (patch)
treefa834497fa4e62e2ad1b1e3e77633e47beddb0fc /gdb/gdb.c
parenteed9788b42dbb1ce96f8e1b66241acdf9ea0ee19 (diff)
downloadgdb-457344df01247c1504fd583b24892e4fce7399cb.zip
gdb-457344df01247c1504fd583b24892e4fce7399cb.tar.gz
gdb-457344df01247c1504fd583b24892e4fce7399cb.tar.bz2
revert previous gdb.c commit (it was not a minor comment update)
gdb/ChangeLog: * gdb.c: Revert the previous change, which was probably committed by accident.
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);
}