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/gdbarch.sh | |
parent | f7c93334db0234f08e23d3ed274a248d7770db37 (diff) | |
download | binutils-gdb-aff68abbd7cfed062055bd2d97f464b304b920bc.tar.gz |
* 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/gdbarch.sh')
-rwxr-xr-x | gdb/gdbarch.sh | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index 53a52b1fceb..4b11f92d9a2 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -1331,15 +1331,9 @@ extern int gdbarch_update_p (struct gdbarch_info info); extern struct gdbarch *gdbarch_find_by_info (struct gdbarch_info info); -/* Helper function. Set the global "target_gdbarch" to "gdbarch". +/* Helper function. Set the target gdbarch to "gdbarch". */ - FIXME: kettenis/20031124: Of the functions that follow, only - gdbarch_from_bfd is supposed to survive. The others will - dissappear since in the future GDB will (hopefully) be truly - multi-arch. However, for now we're still stuck with the concept of - a single active architecture. */ - -extern void deprecated_target_gdbarch_select_hack (struct gdbarch *gdbarch); +extern void set_target_gdbarch (struct gdbarch *gdbarch); /* Register per-architecture data-pointer. @@ -2281,7 +2275,7 @@ gdbarch_find_by_info (struct gdbarch_info info) /* Make the specified architecture current. */ void -deprecated_target_gdbarch_select_hack (struct gdbarch *new_gdbarch) +set_target_gdbarch (struct gdbarch *new_gdbarch) { gdb_assert (new_gdbarch != NULL); gdb_assert (new_gdbarch->initialized_p); |