X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsolib-irix.c;h=8400ad3a006a172c67fb018b8cbb750403b989c9;hb=b9cd6d0b0dc85f23a41f4bb9ce42bbfb5b31cc2d;hp=7d3bc9cb1bde3421454b8cb10ee09ccac7e8e386;hpb=c54cfec8d4215ef2b4f8019a3431749b44ee0247;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c index 7d3bc9cb1b..8400ad3a00 100644 --- a/gdb/solib-irix.c +++ b/gdb/solib-irix.c @@ -123,16 +123,12 @@ union irix_obj_info /* MIPS sign extends its 32 bit addresses. We could conceivably use extract_typed_address here, but to do so, we'd have to construct an - appropriate type. Calling extract_signed_integer or - extract_address seems simpler. */ + appropriate type. Calling extract_signed_integer seems simpler. */ static CORE_ADDR extract_mips_address (void *addr, int len) { - if (len <= 32) - return extract_signed_integer (addr, len); - else - return extract_address (addr, len); + return extract_signed_integer (addr, len); } /* Fetch and return the link map data associated with ADDR. Note that @@ -436,7 +432,7 @@ irix_solib_create_inferior_hook (void) out what we need to know about them. */ clear_proceed_status (); - stop_soon_quietly = STOP_QUIETLY; + stop_soon = STOP_QUIETLY; stop_signal = TARGET_SIGNAL_0; do { @@ -459,10 +455,10 @@ irix_solib_create_inferior_hook (void) But we are stopped in the startup code and we might not have symbols for the startup code, so heuristic_proc_start could be called and will put out an annoying warning. - Delaying the resetting of stop_soon_quietly until after symbol loading + Delaying the resetting of stop_soon until after symbol loading suppresses the warning. */ solib_add ((char *) 0, 0, (struct target_ops *) 0, auto_solib_add); - stop_soon_quietly = NO_STOP_QUIETLY; + stop_soon = NO_STOP_QUIETLY; re_enable_breakpoints_in_shlibs (); }