[RFA] Add cmd "set bfd" to make gdb handle bfd_error_file_ambiguously_recognized better
Tristan Gingold
gingold@adacore.com
Wed Jan 13 09:29:00 GMT 2010
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.
More information about the Gdb-patches
mailing list