diff options
Diffstat (limited to 'gdb/solib-legacy.c')
-rw-r--r-- | gdb/solib-legacy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-legacy.c b/gdb/solib-legacy.c index 72af7ce..5180936 100644 --- a/gdb/solib-legacy.c +++ b/gdb/solib-legacy.c @@ -115,7 +115,7 @@ legacy_svr4_fetch_link_map_offsets (void) if (bfd_get_arch_size (exec_bfd) == 32) return lmp32; } - if (TARGET_PTR_BIT == 32) + if (gdbarch_ptr_bit (current_gdbarch) == 32) return lmp32; #endif return lmp; |