aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdb.c7
2 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 43bba0c..b7be1ad 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2010-12-29 Joel Brobecker <brobecker@adacore.com>
+ * gdb.c: Revert the previous change, which was probably committed
+ by accident.
+
+2010-12-29 Joel Brobecker <brobecker@adacore.com>
+
* ada-lang.c: Fix typo in comment.
2010-12-29 Joel Brobecker <brobecker@adacore.com>
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);
}