aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parent1605ef261f0f8aae0203f70f484ecb1bed35c5d6 (diff)
downloadgdb-5484b13a88161ed38ee9101eb474e024f5406b95.zip
gdb-5484b13a88161ed38ee9101eb474e024f5406b95.tar.gz
gdb-5484b13a88161ed38ee9101eb474e024f5406b95.tar.bz2
* main.c (captured_main): Call bfd_init.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/main.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b0b8243..1b037b9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2013-01-21 Tom Tromey <tromey@redhat.com>
+ * main.c (captured_main): Call bfd_init.
+
+2013-01-21 Tom Tromey <tromey@redhat.com>
+
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
* gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
* minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
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));