OSDN Git Service

* arch-utils.c (gdbarch_update_p): Use default values for
authoruweigand <uweigand>
Sun, 4 May 2008 15:21:05 +0000 (15:21 +0000)
committeruweigand <uweigand>
Sun, 4 May 2008 15:21:05 +0000 (15:21 +0000)
commit912d632bc9d055334bfa3d8434064f13c1a052f9
tree0b6b46af818656a4fef58155e02221d515975009
parent2324b77903ca750edf87d0334b5852550aaa1c84
* arch-utils.c (gdbarch_update_p): Use default values for
info.abfd and info.target_desc if they are NULL.
(gdbarch_from_bfd): Remove assertion.
(set_gdbarch_from_file): Call gdbarch_find_by_info directly,
using the current target description.
(gdbarch_info_fill): Do not use default values for info->abfd
and info->target_desc.
gdb/ChangeLog
gdb/arch-utils.c