aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index f0bc5bb..4a46e35 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -404,7 +404,7 @@ show_architecture (struct ui_file *file, int from_tty,
struct cmd_list_element *c, const char *value)
{
const char *arch;
- arch = TARGET_ARCHITECTURE->printable_name;
+ arch = gdbarch_bfd_arch_info (current_gdbarch)->printable_name;
if (target_architecture_user == NULL)
fprintf_filtered (file, _("\
The target architecture is set automatically (currently %s)\n"), arch);