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] |
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. Thanks, Hui 2010-01-13 Hui Zhu <teawater@gmail.com> * arch-utils.c (libbfd.h): New include. (bfds): New variable. (set_bfd_string): New variable. (show_bfd): New function. (set_bfd): New function. (_initialize_gdbarch_utils): Add new command "set bfd". * exec.c (exec_file_attach): Output special works when bfd_get_error is bfd_error_file_ambiguously_recognized. 2010-01-13 Hui Zhu <teawater@gmail.com> * libbfd-in.h (bfd_associated_vector): Remove second const. * libbfd.h (bfd_associated_vector): Ditto. * targets.c (bfd_associated_vector): Ditto. (_bfd_associated_vector): Add DEFAULT_VECTOR.
Attachment:
bfd.txt
Description: Text document
Attachment:
setbfd.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |