From: Tom Tromey Date: Mon, 21 Jan 2013 17:32:10 +0000 (+0000) Subject: * main.c (captured_main): Call bfd_init. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5484b13a88161ed38ee9101eb474e024f5406b95;p=binutils-gdb.git * main.c (captured_main): Call bfd_init. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b0b8243da27..1b037b951c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-01-21 Tom Tromey + + * main.c (captured_main): Call bfd_init. + 2013-01-21 Tom Tromey * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. diff --git a/gdb/main.c b/gdb/main.c index c9439bbcae1..6ed014faca8 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));