* arch-utils.c (deprecated_select_gdbarch_hack): New function.
authorMark Kettenis <kettenis@gnu.org>
Mon, 27 Oct 2003 20:47:27 +0000 (20:47 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 27 Oct 2003 20:47:27 +0000 (20:47 +0000)
commit2b0266504ed1d2f24c3ec40d12b4a3dcf0f8f184
treed8cf8149927f19f355113cfa15da21de5eac4bd0
parent0bcad58476a73040545bf31fd3e72a36429bba04
* arch-utils.c (deprecated_select_gdbarch_hack): New function.
(gdbarch_from_bfd): New function.
(set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and
deprecated_select_gdbarch_hack.
* arch-utils.h (gdbarch_from_bfd): New prototype.
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h