Mark Kettenis
729b7ed750
* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
...
(SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME)
(SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT)
(SOLIB_HAVE_UNLOAD_EVENT): Remove defines.
2003-12-16 21:46:10 +00:00
Mark Kettenis
9db7c108d9
* solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
...
of (0).
2003-12-11 13:45:12 +00:00
Fred Fish
287c324016
2003-07-10 Fred Fish <fnf@ninemoons.com>
...
* coff-solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Default to a
null string instead of a null pointer.
* solib.h (SOLIB_LOADED_LIBRARY_PATHNAME): Ditto.
(Also updated copyrights)
2003-07-10 21:56:25 +00:00
Jason Thorpe
010f3b2f35
* solib.h: Protect against multiple inclusion.
2002-05-07 08:35:54 +00:00
Fred Fish
990f9fe3aa
Approved by kev@cygnus.com
...
ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* coff-solib.c (coff_solib_add): Add new readsyms arg.
* irix5-nat.c (solib_add): Ditto.
* osfsolib.c (solib_add): Ditto.
* pa64solib.c (pa64_solib_add): Ditto.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* solib.c (solib_add): Ditto.
* somsolib.c (som_solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* coff-solib.h (coff_solib_add): Add new readsyms arg to prototype.
* pa64solib.c (add_to_solist): Ditto.
* pa64solib.c (read_dld_descriptor): Ditto.
* pa64solib.h (pa64_solib_add): Ditto.
* solib.h (solib_add): Ditto.
* somsolib.h (som_solib_add): Ditto.
* config/i386/tm-cygwin.h (child_solib_add): Ditto.
* coff-solib.c (coff_solib_add): If readsyms is zero don't read
symbols but do any other needed work for shared libs.
* irix5-nat.c: Ditto.
* osfsolib.c (solib_add): Ditto.
* solib.c (solib_add): Ditto.
* win32-nat.c (child_solib_add): Ditto.
* xcoffsolib.c (solib_add): Ditto.
* irix5-nat.c (sharedlibrary_command): Pass 1 as readsyms to
solib_add to force reading of shared library symbols.
* osfsolib.c (sharedlibrary_command;): Ditto.
* pa64solib.c (pa64_solib_sharedlibrary_command): Ditto.
* solib.c (sharedlibrary_command): Ditto.
* somsolib.c (som_solib_sharedlibrary_command): Ditto.
* xcoffsolib.c (sharedlibrary_command): Ditto.
* coff-solib.c (coff_solib_create_inferior_hook): Call solib_add
unconditionally with auto_solib_add.
* irix5-nat.c (solib_create_inferior_hook): Ditto.
* osfsolib.c (solib_create_inferior_hook): Ditto.
* solib.c (solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-svr4.c (enable_break): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
* corelow.c (solib_add_stub): Add auto_solib_add to args passed
via SOLIB_ADD.
* sol-thread.c (sol_thread_attach): Ditto.
* config/rs6000/nm-rs6000.h (SOLIB_ADD): Ditto.
* infcmd.c (attach_command): Remove auto_solib_add decl.
Call SOLIB_ADD directly with auto_solib_add.
* infrun.c (handle_inferior_event): Ditto.
* coff-solib.h (SOLIB_ADD): Add readsyms arg.
* pa64solib.h (SOLIB_ADD): Ditto.
* solib.h (SOLIB_ADD): Ditto.
* somsolib.h (SOLIB_ADD): Ditto.
* config/i386/tm-cygwin.h (SOLIB_ADD): Ditto.
* fork-child.c (clone_and_follow_inferior): Remove unused
auto_solib_add decl.
* pa64solib.c (pa64_solib_add): Call add_to_solist with readsyms.
(read_dld_descriptor): Ditto.
(pa64_solib_add): Call read_dld_descriptor with readsyms.
(pa64_solib_in_dynamic_linker): Ditto.
* corelow.c (symfile.h): Need this for auto_solib_add declaration.
* sol-thread.c (symfile.h): Ditto.
Approved by eliz@is.elta.co.il
doc/ChangeLog entry:
2001-11-01 Fred Fish <fnf@redhat.com>
* gdbint.texinfo (SOLIB_ADD): Document additional new
"readsyms" arg.
2001-11-01 16:17:08 +00:00
Michael Snyder
cb0ba49e37
2001-05-14 Michael Snyder <msnyder@redhat.com>
...
* solib.c, solib.h: Add comment for function no_shared_libraries.
2001-05-14 18:45:45 +00:00
Kevin Buettner
183a2f1a42
Fix no_shared_libraries() declaration.
2001-05-14 18:09:05 +00:00
Andrew Cagney
1dd1751e96
* remote.c (remote_write_bytes): Set nr_bytes before returning it.
...
* solib.h (no_shared_libraries): Declare.
2001-05-14 16:48:01 +00:00
Kevin Buettner
b6ba6518e9
Update/correct copyright notices.
2001-03-06 08:22:02 +00:00
Kevin Buettner
d7fa2ae254
Made changes to shared library support and added more of the support needed
...
for AIX/IA-64.
2001-02-22 03:01:27 +00:00
Kevin Buettner
a14ed312fd
PARAMS removal.
2000-05-28 01:12:42 +00:00
Jason Molenda
104c1213b4
import gdb-1999-08-30 snapshot
1999-08-31 01:14:27 +00:00
Jason Molenda
c5aa993b1f
import gdb-1999-07-07 post reformat
1999-07-07 20:19:36 +00:00
Stan Shebs
c906108c21
Initial creation of sourceware repository
1999-04-16 01:35:26 +00:00
Stan Shebs
071ea11e85
Initial creation of sourceware repository
1999-04-16 01:34:07 +00:00
David Taylor
65b07ddca8
all remaining *.c *.h files from hp merge.
1998-12-31 21:58:30 +00:00
David Taylor
7d0a3fc844
Changes by Peter.Schauer to fix gdb/13521 -- gdb step command fails to step
...
from a function in one dynamically linked library into a function in another
dynamically linked library.
1998-01-30 20:33:43 +00:00
Fred Fish
d0e0eca26e
* solib.c (solib_address): Return the name of the containing solib.
...
* solib.h (PC_SOLIB): New macro; define using solib_address.
* stack.c (print_frame_info) [PC_SOLIB]: If no function name, try
PC_SOLIB on the PC value.
1995-11-19 07:16:03 +00:00
Fred Fish
6c9638b444
Update FSF address.
1995-08-02 03:41:12 +00:00
K. Richard Pixley
73d0fc7820
Add section table to objfile struct. Use it for find_pc_section.
...
* objfiles.c (add_to_objfile_sections,
build_objfile_section_table, find_pc_section): new functions.
(allocate_objfile): build section table.
* objfiles.h (struct obj_section): new structure.
(struct objfile): add section table.
(find_pc_section): new prototype.
* solib.[ch] (find_pc_section_from_so_list): removed.
* sparc-tdep.c: include objfiles.h for find_pc_section. include
symfile.h for objfiles.h.
(in_solib_trampoline): adjusted for new find_pc_section
prototype. Removed BAD_RICH_HACK ifdefs.
* symfile.c (syms_from_objfile): offset objfile sections.
(find_pc_section): removed. Also removed BAD_RICH_HACK ifdefs.
* symfile.h (find_pc_section): prototype removed. Also fixed
comment typo NUL -> NULL.
* target.[ch] (find_pc_section_from_targets): removed.
* config/sparc/tm-sun4sol2.h (BAD_RICHH_HACK): removed.
1993-04-07 07:04:26 +00:00
K. Richard Pixley
2093fe6840
Teach sparc solaris to next over shared library functions.
...
* solib.[hc] (find_pc_section_from_so_list): new function and
prototype.
* sparc-tdep.c (in_solib_trampoline): new function.
* symfile.[hc] (find_pc_section): new function and prototypes.
* target.[hc] (find_pc_section_from_targets): new function and
prototypes.
* config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): redefine to
in_solib_trampoline.
1993-03-31 00:29:22 +00:00
Per Bothner
6730b13987
* solib.h, infrun.c, tm-rs6000.h: Add a PID parameter
...
to SOLIB_CREATE_INFERIOR_HOOK macro.
1992-03-12 20:18:54 +00:00
John Gilmore
7919c3ed86
* tm-sparc.h, tm-sysv4.h, solib.h: Move shared lib definitions
...
into solib.h.
* sparc-pinsn.c, sparc-tdep.c, standalonec, sun3-xdep.c,
sun386-xdep.c, symm-xdep.c, target.c, ultra3-xdep.c, utils.c,
value.h: Prototypes for static functions; lint.
* gdbtypes.h: Empty file to ease transition.
1992-02-21 03:35:37 +00:00