aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-21 17:32:10 +0000
committerTom Tromey <tromey@redhat.com>2013-01-21 17:32:10 +0000
commit5484b13a88161ed38ee9101eb474e024f5406b95 (patch)
tree3403fcf030a266646876a89b6cc6362b949b3235 /gdb/main.c
parent1605ef261f0f8aae0203f70f484ecb1bed35c5d6 (diff)
downloadgdb-5484b13a88161ed38ee9101eb474e024f5406b95.zip
gdb-5484b13a88161ed38ee9101eb474e024f5406b95.tar.gz
gdb-5484b13a88161ed38ee9101eb474e024f5406b95.tar.bz2
* main.c (captured_main): Call bfd_init.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index c9439bb..6ed014f 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -357,6 +357,8 @@ captured_main (void *data)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
+ bfd_init ();
+
make_cleanup (VEC_cleanup (cmdarg_s), &cmdarg_vec);
dirsize = 1;
dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg));