* 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)
commita7f1256dcb5a9bb35c3cb4bb659aeb1ac310c2c5
tree00b60b3e417f730b6c7c54c17fb0e00e4c5fce08
parentb2de52bb5aa3fdd52a80d4d91cc4b55d530f4164
* 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