mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
* 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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user