summaryrefslogtreecommitdiff
path: root/gdb/procfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 10baaf9223b..7916944eef7 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -5765,7 +5765,7 @@ info_proc_mappings (procinfo *pi, int summary)
{
char *header_fmt_string;
- if (TARGET_PTR_BIT == 32)
+ if (gdbarch_ptr_bit (current_gdbarch) == 32)
header_fmt_string = "\t%10s %10s %10s %10s %7s\n";
else
header_fmt_string = " %18s %18s %10s %10s %7s\n";