| OLD | NEW |
| 1 /* Shared library support for IRIX. | 1 /* Shared library support for IRIX. |
| 2 Copyright (C) 1993-1996, 1998-2002, 2004, 2007-2012 Free Software | 2 Copyright (C) 1993-1996, 1998-2002, 2004, 2007-2012 Free Software |
| 3 Foundation, Inc. | 3 Foundation, Inc. |
| 4 | 4 |
| 5 This file was created using portions of irix5-nat.c originally | 5 This file was created using portions of irix5-nat.c originally |
| 6 contributed to GDB by Ian Lance Taylor. | 6 contributed to GDB by Ian Lance Taylor. |
| 7 | 7 |
| 8 This file is part of GDB. | 8 This file is part of GDB. |
| 9 | 9 |
| 10 This program is free software; you can redistribute it and/or modify | 10 This program is free software; you can redistribute it and/or modify |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 /* Now run the target. It will eventually hit the breakpoint, at | 412 /* Now run the target. It will eventually hit the breakpoint, at |
| 413 which point all of the libraries will have been mapped in and we | 413 which point all of the libraries will have been mapped in and we |
| 414 can go groveling around in the dynamic linker structures to find | 414 can go groveling around in the dynamic linker structures to find |
| 415 out what we need to know about them. */ | 415 out what we need to know about them. */ |
| 416 | 416 |
| 417 tp = inferior_thread (); | 417 tp = inferior_thread (); |
| 418 | 418 |
| 419 clear_proceed_status (); | 419 clear_proceed_status (); |
| 420 | 420 |
| 421 inf->control.stop_soon = STOP_QUIETLY; | 421 inf->control.stop_soon = STOP_QUIETLY; |
| 422 tp->suspend.stop_signal = TARGET_SIGNAL_0; | 422 tp->suspend.stop_signal = GDB_SIGNAL_0; |
| 423 | 423 |
| 424 do | 424 do |
| 425 { | 425 { |
| 426 target_resume (pid_to_ptid (-1), 0, tp->suspend.stop_signal); | 426 target_resume (pid_to_ptid (-1), 0, tp->suspend.stop_signal); |
| 427 wait_for_inferior (); | 427 wait_for_inferior (); |
| 428 } | 428 } |
| 429 while (tp->suspend.stop_signal != TARGET_SIGNAL_TRAP); | 429 while (tp->suspend.stop_signal != GDB_SIGNAL_TRAP); |
| 430 | 430 |
| 431 /* We are now either at the "mapping complete" breakpoint (or somewhere | 431 /* We are now either at the "mapping complete" breakpoint (or somewhere |
| 432 else, a condition we aren't prepared to deal with anyway), so adjust | 432 else, a condition we aren't prepared to deal with anyway), so adjust |
| 433 the PC as necessary after a breakpoint, disable the breakpoint, and | 433 the PC as necessary after a breakpoint, disable the breakpoint, and |
| 434 add any shared libraries that were mapped in. */ | 434 add any shared libraries that were mapped in. */ |
| 435 | 435 |
| 436 if (!disable_break ()) | 436 if (!disable_break ()) |
| 437 { | 437 { |
| 438 warning (_("shared library handler failed to disable breakpoint")); | 438 warning (_("shared library handler failed to disable breakpoint")); |
| 439 } | 439 } |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 irix_so_ops.relocate_section_addresses = irix_relocate_section_addresses; | 647 irix_so_ops.relocate_section_addresses = irix_relocate_section_addresses; |
| 648 irix_so_ops.free_so = irix_free_so; | 648 irix_so_ops.free_so = irix_free_so; |
| 649 irix_so_ops.clear_solib = irix_clear_solib; | 649 irix_so_ops.clear_solib = irix_clear_solib; |
| 650 irix_so_ops.solib_create_inferior_hook = irix_solib_create_inferior_hook; | 650 irix_so_ops.solib_create_inferior_hook = irix_solib_create_inferior_hook; |
| 651 irix_so_ops.special_symbol_handling = irix_special_symbol_handling; | 651 irix_so_ops.special_symbol_handling = irix_special_symbol_handling; |
| 652 irix_so_ops.current_sos = irix_current_sos; | 652 irix_so_ops.current_sos = irix_current_sos; |
| 653 irix_so_ops.open_symbol_file_object = irix_open_symbol_file_object; | 653 irix_so_ops.open_symbol_file_object = irix_open_symbol_file_object; |
| 654 irix_so_ops.in_dynsym_resolve_code = irix_in_dynsym_resolve_code; | 654 irix_so_ops.in_dynsym_resolve_code = irix_in_dynsym_resolve_code; |
| 655 irix_so_ops.bfd_open = solib_bfd_open; | 655 irix_so_ops.bfd_open = solib_bfd_open; |
| 656 } | 656 } |
| OLD | NEW |