aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb.c')
-rw-r--r--gdb/gdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/gdb.c b/gdb/gdb.c
index fa92e25..bc5e6cc 100644
--- a/gdb/gdb.c
+++ b/gdb/gdb.c
@@ -25,6 +25,7 @@ int
main (int argc, char **argv)
{
struct captured_main_args args;
+
memset (&args, 0, sizeof args);
args.argc = argc;
args.argv = argv;