aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r--gdb/solib-svr4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index b3b9e00..8edc889 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -1459,9 +1459,9 @@ enable_break (struct svr4_info *info, int from_tty)
invalid addresses like 0x101234567 for 32bit inferiors on 64bit
GDB. */
- if (addr_bit < (sizeof (ULONGEST) * HOST_CHAR_BIT))
+ if (addr_bit < (sizeof (CORE_ADDR) * HOST_CHAR_BIT))
{
- CORE_ADDR space_size = (ULONGEST) 1 << addr_bit;
+ CORE_ADDR space_size = (CORE_ADDR) 1 << addr_bit;
CORE_ADDR tmp_entry_point = exec_entry_point (tmp_bfd,
tmp_bfd_target);