| OLD | NEW |
| 1 /* Handle shared libraries for GDB, the GNU Debugger. | 1 /* Handle shared libraries for GDB, the GNU Debugger. |
| 2 | 2 |
| 3 Copyright (C) 2000, 2004, 2006-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2000, 2004, 2006-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 This file is part of GDB. | 5 This file is part of GDB. |
| 6 | 6 |
| 7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
| 8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
| 9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
| 10 (at your option) any later version. | 10 (at your option) any later version. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 /* set_solib_svr4_fetch_link_map_offsets() is intended to be called by | 66 /* set_solib_svr4_fetch_link_map_offsets() is intended to be called by |
| 67 a <arch>_gdbarch_init() function. It is used to establish an | 67 a <arch>_gdbarch_init() function. It is used to establish an |
| 68 architecture specific link_map_offsets fetcher for the architecture | 68 architecture specific link_map_offsets fetcher for the architecture |
| 69 being defined. */ | 69 being defined. */ |
| 70 | 70 |
| 71 extern void set_solib_svr4_fetch_link_map_offsets | 71 extern void set_solib_svr4_fetch_link_map_offsets |
| 72 (struct gdbarch *gdbarch, struct link_map_offsets *(*func) (void)); | 72 (struct gdbarch *gdbarch, struct link_map_offsets *(*func) (void)); |
| 73 | 73 |
| 74 extern void set_solib_svr4_map_so_name |
| 75 (struct gdbarch *gdbarch, const char *(*map_so_name) (char*)); |
| 76 |
| 74 /* This function is called by thread_db.c. Return the address of the | 77 /* This function is called by thread_db.c. Return the address of the |
| 75 link map for the given objfile. */ | 78 link map for the given objfile. */ |
| 76 extern CORE_ADDR svr4_fetch_objfile_link_map (struct objfile *objfile); | 79 extern CORE_ADDR svr4_fetch_objfile_link_map (struct objfile *objfile); |
| 77 | 80 |
| 78 /* Fetch (and possibly build) an appropriate `struct link_map_offsets' | 81 /* Fetch (and possibly build) an appropriate `struct link_map_offsets' |
| 79 for ILP32 and LP64 SVR4 systems. */ | 82 for ILP32 and LP64 SVR4 systems. */ |
| 80 extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void); | 83 extern struct link_map_offsets *svr4_ilp32_fetch_link_map_offsets (void); |
| 81 extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void); | 84 extern struct link_map_offsets *svr4_lp64_fetch_link_map_offsets (void); |
| 82 | 85 |
| 83 /* Return 1 if PC lies in the dynamic symbol resolution code of the | 86 /* Return 1 if PC lies in the dynamic symbol resolution code of the |
| 84 SVR4 run time loader. */ | 87 SVR4 run time loader. */ |
| 85 int svr4_in_dynsym_resolve_code (CORE_ADDR pc); | 88 int svr4_in_dynsym_resolve_code (CORE_ADDR pc); |
| 86 | 89 |
| 87 #endif /* solib-svr4.h */ | 90 #endif /* solib-svr4.h */ |
| OLD | NEW |