diff options
author | Tom Tromey <tromey@redhat.com> | 2012-11-14 15:40:35 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-11-14 15:40:35 +0000 |
commit | aff68abbd7cfed062055bd2d97f464b304b920bc (patch) | |
tree | 53164327b3ed18f87758d60f3e30ad1a0b684faf /gdb/arch-utils.c | |
parent | f7c93334db0234f08e23d3ed274a248d7770db37 (diff) | |
download | gdb-aff68abbd7cfed062055bd2d97f464b304b920bc.zip gdb-aff68abbd7cfed062055bd2d97f464b304b920bc.tar.gz gdb-aff68abbd7cfed062055bd2d97f464b304b920bc.tar.bz2 |
* gdbarch.h, gdbarch.c: Rebuild.
* gdbarch.sh (set_target_gdbarch): Rename from
deprecated_target_gdbarch_select_hack.
* arch-utils.c (gdbarch_update_p): Update.
(set_gdbarch_from_file): Update.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r-- | gdb/arch-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index 71d17cf..5a47e37 100644 --- a/gdb/arch-utils.c +++ b/gdb/arch-utils.c @@ -522,7 +522,7 @@ gdbarch_update_p (struct gdbarch_info info) "New architecture %s (%s) selected\n", host_address_to_string (new_gdbarch), gdbarch_bfd_arch_info (new_gdbarch)->printable_name); - deprecated_target_gdbarch_select_hack (new_gdbarch); + set_target_gdbarch (new_gdbarch); return 1; } @@ -556,7 +556,7 @@ set_gdbarch_from_file (bfd *abfd) if (gdbarch == NULL) error (_("Architecture of file not recognized.")); - deprecated_target_gdbarch_select_hack (gdbarch); + set_target_gdbarch (gdbarch); } /* Initialize the current architecture. Update the ``set |