aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}