summaryrefslogtreecommitdiff
path: root/gdb/somsolib.c
Commit message (Collapse)AuthorAgeFilesLines
* 2003-10-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-10-231-4/+1
| | | | | | | | | | | | | | | | | | * exec.h: New file. * win32-nat.c: Include "exec.h". * solib.c: Include "exec.h". * target.h (build_section_table): Delete declaration. * somsolib.c: Include "exec.h". (exec_ops): Delete extern declaration. * rs6000-nat.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * pa64solib.c: Update copyright. Include "exec.h". (exec_ops): Delete extern declaration. * exec.c: Update copyright. Include "exec.h". * corelow.c: Update dependencies. Include "exec.h". * Makefile.in (exec_h): Define. (exec.o, somsolib.o): Update dependencies. (pa64solib.o, corelow.o): Update dependencies.
* 2003-10-16 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-10-161-3/+1
| | | | | | | | | | | * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove second parameter, which is always null. Remove SOFUN_ADDRESS_MAYBE_MISSING ifdeffed code. * symtab.h (lookup_minimal_symbol_solib_trampoline): Update accordingly. * somsolib.c (som_solib_create_inferior_hook, som_solib_desire_dynamic_linker_symbols): Update callers. * hppa-tdep.c (hppa_fix_call_dummy): Ditto.
* 2003-08-30 Michael Chastain <mec@shout.net>Michael Chastain2003-09-011-3/+0
| | | | | | | | | | | * Makefile.in: Remove tm-hp300bsd.h, tm-hp300hpux.h. * config/m68k/nm-hp300hpux.h: Delete. * config/m68k/tm-hp300hpux.h: Delete. * config/m68k/xm-hp300hpux.h: Delete. * config/m68k/xm-hp300bsd.h: Delete. * config/djgpp/fnchange.lst: Remove nm-hp300hpux.h, tm-hp300hpux.h, xm-hp300hpux.h. * somsolib.c: Remove comment about hp300 shared libraries.
* * hppa-tdep.c (gdb_assert.h): Add missing #include.Joel Brobecker2003-03-171-0/+1
| | | | | | * somsolib.c (gdb_assert.h): Likewise. * Makefile.in (hppa-tdep.o): Add dependency on gdb_assert.h. (somsolib.o): Likewise.
* 2003-02-25 David Carlton <carlton@math.stanford.edu>David Carlton2003-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * symtab.h (SYMBOL_NATURAL_NAME): New macro. (SYMBOL_LINKAGE_NAME): Ditto. (SYMBOL_PRINT_NAME): Use SYMBOL_NATURAL_NAME and SYMBOL_LINKAGE_NAME. (struct general_symbol_info): Expand comment. (DEPRECATED_SYMBOL_NAME): Rename from SYMBOL_NAME. (SYMBOL_MATCHES_NAME): Use DEPRECATED_SYMBOL_NAME. (SYMBOL_MATCHES_REGEXP): Ditto. * symtab.c (symbol_natural_name): New function. * objfiles.h: Replace all uses of SYMBOL_NAME by DEPRECATED_SYMBOL_NAME. * xcoffread.c, valops.c, typeprint.c, tracepoint.c: Ditto. * symtab.c, symmisc.c, symfile.c, stack.c, stabsread.c: Ditto. * somsolib.c, sol-thread.c, rs6000-tdep.c, p-valprint.c: Ditto. * printcmd.c, objfiles.c, objc-lang.c, mipsread.c: Ditto. * minsyms.c, mdebugread.c, linespec.c, jv-lang.c: Ditto. * i386-tdep.c, i386-linux-tdep.c, hpread.c, hppa-tdep.c: Ditto. * gnu-v2-abi.c, f-valprint.c, findvar.c, expprint.c: Ditto. * dwarfread.c, dwarf2read.c, dbxread.c, c-valprint.c: Ditto. * cp-valprint.c, coffread.c, buildsym.c, breakpoint.c: Ditto. * blockframe.c, ax-gdb.c, arm-linux-tdep.c, ada-lang.c: Ditto. * ada-exp.y: Ditto. * ada-exp.y: Update copyright. * sol-thread.c, mipsread.c, jv-lang.c, f-valprint.c: Ditto. * cp-valprint.c: Ditto. 2003-02-25 David Carlton <carlton@math.stanford.edu> * generic/gdbtk.h: Replace all instances of SYMBOL_NAME by DEPRECATED_SYMBOL_NAME. * generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Ditto. * generic/gdbtk-stack.c, generic/gdbtk-cmds.c: Update copyright. 2003-02-25 David Carlton <carlton@math.stanford.edu> * mi-cmd-stack.c: Replace all instances of SYMBOL_NAME with DEPRECATED_SYMBOL_NAME. Update copyright.
* 2003-02-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-02-011-1/+18
| | | | | | | | | | | | | | * defs.h (host_pointer_to_address): Delete declaration. (address_to_host_pointer): Delete declaration. * utils.c (host_pointer_to_address): Delete function. (address_to_host_pointer): Delete function. * procfs.c (procfs_address_to_host_pointer): New function. * procfs.c (proc_set_watchpoint): Use. (procfs_can_use_hw_breakpoint): Update comments. * somsolib.c (hpux_address_to_host_pointer_hack): New function. (som_solib_add): Use. * hppa-tdep.c (hppa_pointer_to_address_hack): New function. * hppa-tdep.c (unwind_command): Use.
* 2003-01-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-141-2/+2
| | | | | | | | | | | | | | | | | | | | * ax-gdb.c, c-valprint.c, charset.c, corefile.c: Update copyright. * demangle.c, disasm.c, dwarf2cfi.c, dwarfread.c: Update copyright. * elfread.c, eval.c, expprint.c, expression.h: Update copyright. * f-typeprint.c, findvar.c, gcore.c, gdb_mbuild.sh: Update copyright. * gdbtypes.h, gnu-v2-abi.c, inferior.h, inftarg.c: Update copyright. * language.c, language.h, m32r-tdep.c: Update copyright. * mn10200-tdep.c, scm-lang.c, scm-lang.h: Update copyright. * somsolib.c, somsolib.h, symfile.c, symtab.h: Update copyright. * thread-db.c, typeprint.c, utils.c, valarith.c: Update copyright. * values.c, win32-nat.c, x86-64-linux-nat.c: Update copyright. * x86-64-linux-tdep.c, z8k-tdep.c: Update copyright. * cli/cli-decode.h, config/h8500/tm-h8500.h: Update copyright. Index: mi/ChangeLog 2003-01-13 Andrew Cagney <ac131313@redhat.com> * mi-cmd-env.c: Update copyright.
* 2003-01-09 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-091-1/+2
| | | | | | | | | * somsolib.h: Fix function indentation. * disasm.c, buildsym.c, buildsym.h: Eliminate PTR. * gnu-v2-abi.c, f-typeprint.c, x86-64-linux-tdep.c: Eliminate STREQ. * demangle.c, ax-gdb.c, c-valprint.c: Eliminate STREQ. * alpha-osf1-tdep.c, corefile.c: Eliminate STREQ. * somsolib.c, inftarg.c: Remove assignment in if conditional.
* * somsolib.c (dld_cache): Replace boolean by int for field is_valid.Joel Brobecker2002-12-031-1/+1
| | | | | | | | | | | | Fixes a build failure on HP/UX. * hpread.c (told_objfile): Replace boolean type by int. Fixes a build failure on HP/UX. (hpread_has_name): Advance declaration to avoid a compilation warning. (pst_syms_count): Add missing variable type. By change, the compiler was defaulting to int, which seems a good choice. Fixes a compilation warning. (pst_syms_size): Likewise.
* * objfiles.h: Change type of obj_private to void pointer.Andrew Cagney2002-06-081-4/+4
| | | | | | * pa64solib.c: Update copyright. Don't include "assert.h", use strcmp instead of STREQ, use LONGEST, do not use PTR * somsolib.c: Ditto.
* * somsolib.c (som_solib_add): Ignore the solib limit threshholdJeff Law2001-12-201-7/+8
| | | | | | | if AUTO_SOLIB_LIMIT is not greater than zero. * somsolib.c (som_solib_create_inferior_hook): No longer warn about missing __d_pid symbol.
* Approved by kev@cygnus.comFred Fish2001-11-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-10-30 Fred Fish <fnf@redhat.com>Fred Fish2001-10-301-1/+1
| | | | | | | * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes. * pa64solib.c (add_to_solist): Ditto. * win32-nat.c (_initialize_inftarg): Remove unnecessary initialization of auto_solib_add, it defaults to 1.
* Changes approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.Fred Fish2001-10-301-24/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: 2001-10-27 Fred Fish <fnf@redhat.com> * symfile.c (auto_solib_add): Update comment to note that this variable is now just used as a boolean to control shlib autoloading, and clarify when it is used. * symfile.h (auto_solib_add): Ditto. * symfile.c (auto_solib_limit): New variable that holds the autoloading threshold instead of overloading auto_solib_add. * symfile.h (auto_solib_limit): Ditto. * irix5-nat.c (_initialize_solib): Change auto-solib-add variable from var_zinteger to var_boolean and update help. * osfsolib.c (_initialize_solib): Ditto. * pa64solib.c (_initialize_pa64_solib): Ditto. * solib.c (_initialize_solib): Ditto. * somsolib.c (_initialize_som_solib): Ditto. * xcoffsolib.c (_initialize_solib): Ditto. * pa64solib.c (pa64_solib_total_st_size): Update comment to note that the new auto_solib_limit variable is used instead of overloading auto_solib_add variable. (_initialize_pa64_solib): Ditto. * somsolib.c (som_solib_total_st_size): Ditto. (_initialize_som_solib): Ditto. * pa64solib.c (_initialize_pa64_solib): Add new set/show commands for auto-solib-limit variable. * somsolib.c (_initialize_som_solib): Ditto * pa64solib.c (add_to_solist): Check that auto_solib_add is set and use auto_solib_limit as the threshold size instead of auto_solib_add. * somsolib.c (som_solib_add): Ditto, and also change warning text about size threshold exceeded. doc/ChangeLog: 2001-10-28 Fred Fish <fnf@redhat.com> * gdb.texinfo (auto-solib-add): Change docs to match implementation change. (auto-solib-limit): Add docs for new variable.
* Tweeks for HP/UX and -Werror.Andrew Cagney2001-10-241-3/+6
|
* From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:Andrew Cagney2001-07-191-0/+18
| | | | | | * infttrace.c (child_thread_alive): Fix gdb_tid typo. * somsolib.c (no_shared_libraries): Provide stub. * xcoffsolib.c (no_shared_libraries): Provide stub.
* Consolidate save_inferior_ptid/restore_inferior_ptid implementation toKevin Buettner2001-05-061-10/+1
| | | | one source file.
* Phase 1 of the ptid_t changes.gdb-post-ptid_t-2001-05-03Kevin Buettner2001-05-041-6/+6
|
* Update/correct copyright notices.Kevin Buettner2001-03-061-1/+2
|
* Create new file regcache.h. Update all uses.Andrew Cagney2001-03-011-0/+1
|
* 2001-02-12 Michael Chastain <chastain@redhat.com>Michael Chastain2001-02-161-6/+22
| | | | | | | * gdb/somsolib.c (som_solib_add_solib_objfile): Do not use section relocation feature of syms_from_objfile. Do my own section relocation, offsetting each section of the som by either text_addr - text_link_addr or data_start.
* Replace free() with xfree().Kevin Buettner2000-12-151-5/+5
|
* 2000-08-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-08-271-6/+6
| | | | | | | | | | | * pa64solib.c (pa64_solib_load_symbols): Don't use ANOFFSET as an lvalue. * xcoffread.c (xcoff_symfile_offsets): Ditto * somsolib.c (som_solib_section_offsets): Ditto. * somread.c (som_symfile_offsets): Ditto. * rs6000-nat.c (vmap_symtab): Ditto. * remote-vx.c (vx_add_symbols): Ditto. * remote-os9k.c (rombug_wait): Ditto.
* Protoization.gdb-post-protoization-2000-07-29Kevin Buettner2000-07-301-65/+30
|
* PARAMS removal.gdb-post-params-removal-2000-05-28Kevin Buettner2000-05-281-3/+3
|
* Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-05-041-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | * objfiles.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Define as functions of OBJFILE. Add sect_index_text, sect_index_data, sect_index_rodata, sect_index_bss to objfile structure. * gdb-stabs.h (SECT_OFF_DATA, SECT_OFF_TEXT, SECT_OFF_BSS, SECT_OFF_RODATA): Remove. * objfiles.c (allocate_objfile): Initialize sect_index_{text,data,bss,rodata} to -1, for error detection. * symfile.c (default_symfile_offsets): Initialize sect_index_{text,data,bss,rodata} from bfd information. * xcoffread.c (xcoff_symfile_offsets): Ditto. * somread.c (som_symfile_offsets): Initialize sect_index_{text,data,bss,rodata}. * coffread.c, dbxread.c, elfread.c, hp-psymtab-read.c, hp-symtab-read.c, hpread.c, mdebugread.c, minsyms.c, mipsread.c, objfiles.c, os9kread.c, pa64solib.c, partial-stab.h, remote-os9k.c, remote-vx.c, remote.c, rs6000-nat.c, somsolib.c, stabsread.c, symfile.c, xcoffread.c: Update use of SECT_OFF_{TEXT,DATA,BSS,RODATA} to depend on the current objfile. * xcoffread.c: Add new field objfile to find_targ_sec_arg.
* 2000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-04-211-1/+2
| | | | | | | * win32-nat.c (handle_load_dll): Don't treat .text as a special section anymore. * somread.c (som_symfile_offsets): Ditto. * somsolib.c (som_solib_add_solib_objfile): Ditto.
* import gdb-1999-11-16 snapshotJason Molenda1999-11-171-1/+1
|
* import gdb-1999-10-11 snapshotJason Molenda1999-10-121-1/+1
|
* import gdb-1999-10-04 snapshotJason Molenda1999-10-051-1/+4
|
* import gdb-1999-09-28 snapshotJason Molenda1999-09-281-41/+3
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-411/+416
|
* Initial revisionStan Shebs1999-04-161-0/+1640