This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA] Add cmd "set bfd" to make gdb handle bfd_error_file_ambiguously_recognized better
- From: Tristan Gingold <gingold at adacore dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>, binutils at sourceware dot org, Jan Kratochvil <jan dot kratochvil at redhat dot com>, Daniel Jacobowitz <dan at codesourcery dot com>
- Date: Wed, 13 Jan 2010 10:30:04 +0100
- Subject: Re: [RFA] Add cmd "set bfd" to make gdb handle bfd_error_file_ambiguously_recognized better
- References: <daef60381001130119i75050a71v6bfd8f4c872c3cd4@mail.gmail.com>
On Jan 13, 2010, at 10:19 AM, Hui Zhu wrote:
> Hello guys,
>
> As I said in http://sourceware.org/ml/gdb/2010-01/msg00122.html
>
> I make patches for them.
> setbfd.txt is for gdb, it add a new cmd "set bfd". It can set the
> default executable format when more than one executable format support
> for the object file.
> And when user load file get bfd_error_file_ambiguously_recognized, gdb
> will output:
> "/ls":Matching formats: elf32-nbigmips elf32-ntradbigmips
> Use command "set bfd" handle it.
>
> And I to let gdb set bfd_associated_vector, I make a patch bfd.txt.
>
> Please help me review it.
Isn't this feature already implemented by set/show gnutarget ?
Tristan.