diff options
Diffstat (limited to 'gdb/solib-irix.c')
-rw-r--r-- | gdb/solib-irix.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c index 1cec282..52378e9 100644 --- a/gdb/solib-irix.c +++ b/gdb/solib-irix.c @@ -142,7 +142,7 @@ extract_mips_address (void *addr, int len, enum bfd_endian byte_order) static struct lm_info fetch_lm_info (CORE_ADDR addr) { - enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch); + enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ()); struct lm_info li; union irix_obj_info buf; @@ -306,7 +306,7 @@ disable_break (void) /* Note that breakpoint address and original contents are in our address space, so we just need to write the original contents back. */ - if (deprecated_remove_raw_breakpoint (target_gdbarch, base_breakpoint) != 0) + if (deprecated_remove_raw_breakpoint (target_gdbarch (), base_breakpoint) != 0) { status = 0; } @@ -339,7 +339,7 @@ enable_break (void) if (!entry_point_address_query (&entry_point)) return 0; - base_breakpoint = deprecated_insert_raw_breakpoint (target_gdbarch, + base_breakpoint = deprecated_insert_raw_breakpoint (target_gdbarch (), aspace, entry_point); if (base_breakpoint != NULL) @@ -453,8 +453,8 @@ irix_solib_create_inferior_hook (int from_tty) static struct so_list * irix_current_sos (void) { - enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch); - int addr_size = gdbarch_addr_bit (target_gdbarch) / TARGET_CHAR_BIT; + enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ()); + int addr_size = gdbarch_addr_bit (target_gdbarch ()) / TARGET_CHAR_BIT; CORE_ADDR lma; char addr_buf[8]; struct so_list *head = 0; @@ -545,8 +545,8 @@ irix_current_sos (void) static int irix_open_symbol_file_object (void *from_ttyp) { - enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch); - int addr_size = gdbarch_addr_bit (target_gdbarch) / TARGET_CHAR_BIT; + enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ()); + int addr_size = gdbarch_addr_bit (target_gdbarch ()) / TARGET_CHAR_BIT; CORE_ADDR lma; char addr_buf[8]; struct lm_info lm; |