OSDN Git Service

* arch-utils.c (gdbarch_update_p): Use default values for
authorUlrich Weigand <uweigand@de.ibm.com>
Sun, 4 May 2008 15:21:05 +0000 (15:21 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sun, 4 May 2008 15:21:05 +0000 (15:21 +0000)
commitc21c1d817c79ab781931b6e0aea8c95107b2b2b7
tree67c2c79722b1a3a8232ca43b010373a6a36d4602
parent0b7a2b0e57e9f4525133824d440f364ca1774b5e
* 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