diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-12-29 00:58:14 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-12-29 00:58:14 +0000 |
commit | 371d5dec8e7c12bcb4ab600a60d337891cde59a7 (patch) | |
tree | 81dc362c653ee33df949eb024e4cac842ceff81e /gdb/gdb.c | |
parent | 551ce43ca7d6e03696872b9c129afd96c6e690d8 (diff) | |
download | gdb-371d5dec8e7c12bcb4ab600a60d337891cde59a7.zip gdb-371d5dec8e7c12bcb4ab600a60d337891cde59a7.tar.gz gdb-371d5dec8e7c12bcb4ab600a60d337891cde59a7.tar.bz2 |
2010-12-28 Michael Snyder <msnyder@vmware.com>
* event-loop.c: Comment clean-up.
* event-loop.h: Ditto.
* event-top.c: Ditto.
* gdb.c: Ditto.
* gdb.h: Ditto.
* main.c: Ditto.
* top.c: Ditto.
* top.h: Ditto.
Diffstat (limited to 'gdb/gdb.c')
-rw-r--r-- | gdb/gdb.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -20,16 +20,21 @@ #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; - return gdb_main (&args); + ret = gdb_main (&args); + muntrace(); + return ret; } |