This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Check return value of bfd_init


>>>>> "Simon" == Simon Marchi <simon.marchi@ericsson.com> writes:

Simon> It doesn't work to call error that early.

Sorry about that.

For me the problem isn't the call to error, it is a crash in
gdb_main when trying to call exception_print.

Moving the call to bfd_init below the call to "new ui" makes it work.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]