aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2001-03-10Cleanup solib-svr4.c by moving legacy code out to its own file.Kevin Buettner35-38/+48
2001-03-09Obsolete harris 88k target.Andrew Cagney5-169/+169
2001-03-06Update/correct copyright notices.Kevin Buettner245-249/+347
2001-03-03From 2001-03-01 Tom Rix <trix@redhat.com>:Andrew Cagney1-0/+5
* mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc'' parameter to mn10200_analyze_prologue. * config/mn10200/tm-mn10200.h: Include "regcache.h". * MAINTAINERS: Document that mn10200-elf target is buildable.
2001-03-03Move GDB_GREGSET_T, GDB_FPREGSET_T defines from config/ia64/xm-aix.hKevin Buettner2-5/+5
to config/ia64/nm-aix.h.
2001-03-022001-03-02 Matt Hiller <hiller@redhat.com>Matthew Hiller1-1/+1
* config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
2001-03-02* defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__J.T. Conklin2-2/+18
if __CYGWIN32__ is set from here. * config/i386/xm-cygwin.h: To here. * config/powerpc/xm-cygwin.h: To here.
2001-02-27* config/sparc/sp64linux.mt: New file.Andrew Cagney2-0/+40
* configure.tgt: Recognize sparc64-*-linux* as a sp64linux target. * configure.host: Recognize sparc64-*-linux* as a linux host. From 2000-03-17 Jakub Jelinek <jakub@redhat.com>: * config/sparc/tm-sp64linux.h: New file.
2001-02-25Replace calls to abort() with calls to internal_error().Kevin Buettner5-7/+7
2001-02-22Made changes to shared library support and added more of the support neededKevin Buettner6-1/+113
for AIX/IA-64.
2001-02-21Enable new thread support for Linux/IA-64.Kevin Buettner2-1/+17
2001-02-18 * go32-nat.c: Include i387-nat.h.Eli Zaretskii1-1/+1
(fetch_register): New function, uses some of the guts of go32_fetch_registers and i387_supply_register. (go32_fetch_registers): Most of the code moved into fetch_register. Use i387_supply_fsave. (store_register): Use i387_fill_fsave instead of custom code. (go32_store_registers): Use i387_fill_fsave. * Makefile.in (go32-nat.o): Depend on i387-nat.h. * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
2001-02-14Add entries for gdb/gdbtk/*/ChangeLog-*.Eli Zaretskii1-0/+10
2001-02-10 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.Peter Schauer1-4/+5
* xcoffsolib.c (xcoff_solib_address): Renamed from pc_load_segment_name. Return NULL if address is not in a shared library. Cleanup shared library name construction, using xasprintf. Format shared library member names consistent with format in exec.c. (solib_info): Format shared library member names consistent with format in exec.c. * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB, using xcoff_solib_address for PC_SOLIB definition. * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer needed.
2001-02-08 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".Eli Zaretskii1-1/+1
2001-02-08Remove configurations marked as obsolete in 5.0.Andrew Cagney21-2064/+0
2001-02-062001-02-06 Michael Snyder <msnyder@makita.cygnus.com>Michael Snyder1-1/+4
Submitted by Paul Hilfinger (hilfingr@gnat.com) and Andrei Petrov (and@genesyslab.com). * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES must be allocated dynamically, since these are no longer constants. * infcmd.c: Ditto. * regcache.c: Ditto. * remote.c: Ditto. * sol-thread.c: Ditto. * valops.c: Ditto. * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a work-around for a missing Sun header file in solaris for sparc64.
2001-02-062001-02-04 Philip Blundell <philb@gnu.org>Phil Blundell2-2/+19
* config/arm/linux.mh (NATDEPFILES): Add proc-service.o, thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o. * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP, GET_THREAD_SIGNALS): Define. * arm-linux-nat.c (fill_gregset): Correct type of argument. (supply_gregset): Likewise. (fill_fpregset): Likewise. (supply_fpregset): Likewise.
2001-02-04 * config/djgpp/fnchange.lst: Tweak to make consistent with theEli Zaretskii1-9/+21
new files.
2001-02-04 * config/djgpp/djconfig.sh: Use explicit absolute file name whenEli Zaretskii1-1/+4
invoking `find'.
2001-01-30* configure/sh/embed.mt: New file.J.T. Conklin2-1/+7
* configure/sh/linux.mt: New file. * configure/sh/sh.mt: Removed. * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets. (sh-*-*): Removed.
2001-01-262001-01-24 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb7-22/+5
* remote-udi.c (udi_open): Change strdup to xstrdup. * thread.c (thread_apply_all_command): Change strdup to xstrdup. Update copyright message. * varobj.c (delete_variable_1): Likewise. * gdb_string.h: Remove declaration of strdup. Update copyright message. * config/xm-mpw.h: Likewise. * config/i386/xm-i386mach.h: Likewise. * config/m68k/xm-apollo68b.h: Likewise. * config/m68k/xm-hp300bsd.h: Likewise. * config/rs6000/xm-rs6000.h: Likewise. * config/vax/xm-vaxult.h: Remove declaration of strdup. * config/vax/xm-vaxult2.h: Likewise.
2001-01-25* config/alpha/tm-fbsd.h: Update copyright.Mark Kettenis2-2/+8
(USE_STRUCT_CONVENTION): Define in terms of alphabsd_use_struct_convention. * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c. * alphafbsd-tdep.c: New file.
2001-01-23* config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.J.T. Conklin3-3/+3
* config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise. * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise. * gdbserver/low-sim.c (#include "defs.h"): Removed. (mygeneric_load): Rename from generic_load. * gdbserver/low-hppabsd.c (#include "server.h"): Added. (#include "defs.h"): Removed. (inferior_pid, perror_with_name): Remove declarations. * gdbserver/low-linux.c: Likewise. * gdbserver/low-nbsd.c: Likewise. * gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. * i386-stub.c: Re-indent. * m68k-stub.c: Re-indent.
2001-01-22* ns32k-tdep.c: #include "frame.h"J.T. Conklin14-15/+48
* config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It appears to have been inadvertantly removed sometime in May 1999. * Revert 2000-11-09 changes where shared library objects were moved from NATDEPFILES to TDEPFILES on NetBSD targets. While we'd like to be able to debug dynamically linked executables, this makes it impossible to build a cross debugger on a many hosts. * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES. * config/i386/nbsdelf.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/sparc/nbsd.mt: Likewise. * config/sparc/nbsdelf.mt: Likewise. * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES. * config/i386/nbsdelf.mh: Likewise. * config/m68k/nbsd.mh: Likewise. * config/ns32k/nbsd.mh: Likewise. * config/powerpc/nbsd.mh: Likewise. * config/sparc/nbsd.mh: Likewise.
2001-01-17* config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.J.T. Conklin2-3/+7
* config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o. * m68knbsd-tdep.c: New file. * i386nbsd-tdep.c: Remove #if 0'd out #includes. * m68knbsd-nat.c: #include gdbcore.h.
2001-01-04 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,Nicholas Duffek1-2/+2
REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
2000-12-21* i386-tdep.c: Add missing ')' in comment.Mark Kettenis1-11/+5
(i386_extract_return_value): Return directly after issuing the warning and filling *VALBUF with zeroes if we cannot get at the floating-point registers. (i386_store_return_value): New function. * config/i386/tm-i386.h (STORE_RETURN_VALUE): Simply call i386_store_return_value. Add prototype for i386_store_return_value.
2000-12-182000-12-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-6/+0
* sh-tdep.c (sh_gdbarch_init): Initialize do_registers_info. * config/sh/tm-sh.h (DO_REGISTERS_INFO): Remove macro. Use multiarch version instead.
2000-12-182000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+2
* config/sh/tm-sh.h: Don't remove SR_REGNUM from enum.
2000-12-152000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-2/+2
* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): SR_REGNUM is now part of gdbarch_tdep structure. (sh_gdbarch_init): Initialize SR_REGNUM. * config/sh/tm-sh.h (struct gdbarch_tdep): Add field SR_REGNUM.
2000-12-08* gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):J.T. Conklin2-0/+4
Removed unused variables and declarations. * gdbserver/low-linux.c (buf2, environ, query, quit, quit_flag): Likewise. * gdbserver/low-nbsd.c (buf2, environ, quit, quit_flag): Likewise. * gdbserver/low-sparc.c (buf2, environ, query, quit, quit_flag): Likewise. * gdbserver/low-sun.c (buf2, environ, query, quit, quit_flag): Likewise. * gdbserver/low-hppabsd.c, gdbserver/low-linux.c, gdbserver/low-nbsd.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c (create_inferior): Update comment. * gdbserver/low-nbsd.c (initialize_arch, fetch_inferior_registers, store_inferior_registers): Provide implementations for the m68k and ns32k. * config/m68k/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o * config/ns32k/nbsd.mt (GDBSERVER_DEPFILES): Likewise. * configure.tgt (m68*-*-netbsd*, ns32k-*-netbsd*): Add gdbserver to configdirs. -------------------------------------------------------------------
2000-12-072000-12-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-3/+3
* config/sh/tm-sh.h (struct gdbarch_tdep): Rename fields {FP15,DR14,FV12}_REGNUM to {FP,DR,FV}_LAST_REGNUM. * sh-tdep.c (sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, sh_do_registers_info, sh_gdbarch_init, sh_sh4_register_byte, sh_sh4_register_raw_size, sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, sh_store_pseudo_register, sh_do_pseudo_register): Ditto. * sh-tdep.c (sh_gdbarch_init): Use a function pointer to set the disassembly print function. (_initialize_sh_tdep): Initialize tm_print_insn using the function pointer.
2000-12-052000-12-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-8/+0
* config/sh/tm-sh.h (struct gdbarch_tdep): Get rid of DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM, they are not used anywhere. * sh-tdep.c (sh_gdbarch_init): Don't initialize DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM.
2000-12-04Multiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,Andrew Cagney1-8/+0
DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM.
2000-11-13 * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handleEli Zaretskii1-1/+2
the gettext's posrcprefix correctly with drive letters.
2000-11-09* config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.J.T. Conklin13-17/+13
* config/i386/nbsdelf.mh: Likewise. * config/m68k/nbsd.mh: Likewise. * config/ns32k/nbsd.mh: Likewise. * config/powerpc/nbsd.mh: Likewise. * config/sparc/nbsd.mh: Likewise. * config/sparc/nbsdelf.mh: Likewise. * config/i386/nbsd.mt: Add solib.o, solib-svr4.o to TDEPFILES. * config/i386/nbsdelf.mt: Likewise. * config/m68k/nbsd.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/sparc/nbsd.mt: Likewise.
2000-11-09 Add auto-solib-add support for AIX, remove obsolete and unusedPeter Schauer12-18/+14
SOLIB_SYMBOLS_MANUAL code, cleanup of AIX shared library handling code. * rs6000-nat.c (vmap_symtab): Do not try to modify offsets if symbols are not yet loaded. (vmap_add_symbols): New function to add symbols for a vmap entry. (add_vmap): Turn errors into warnings, return NULL vmap upon failure. Add symbols via vmap_add_symbols only if requested. (xcoff_relocate_core): Allow debugging of core files without an executable file. Handle NULL returns from add_vmap gracefully. * xcoffsolib.c (solib_add): Remove, no longer needed. (solib_info): Do not check for new shared libraries if there is no inferior process. (sharedlibrary_command): Made static. Do not check for new shared libraries if there is no inferior process. Add symbols for requested shared libraries via vmap_add_symbols. (_initialize_solib): Add `set auto-solib-add' command. * xcoffsolib.h (vmap_add_symbols): Add prototype declaration. * config/rs6000/tm-rs6000.h (PC_LOAD_SEGMENT): Move from here ... * config/rs6000/nm-rs6000.h: ... to here, this is an AIX native feature. * config/powerpc/tm-macos.h, config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h, config/rs6000/tm-rs6000ly.h: Remove #undef PC_LOAD_SEGMENT. * config/powerpc/aix.mt, config/rs6000/aix4.mt, config/rs6000/rs6000.mt (TDEPFILES): Move xcoffsolib.o from here ... * config/powerpc/aix.mh, config/rs6000/aix4.mh, config/rs6000/rs6000.mh (NATDEPFILES): ... to here, xcoffsolib.o contains AIX native code only. * rs6000-tdep.c: Remove #include xcoffsolib.h, no longer needed. * xcoffsolib.h (xcoff_relocate_symtab_hook): Remove declaration. * rs6000-nat.c (_initialize_core_rs6000): Remove setting of xcoff_relocate_symtab_hook, no longer needed. * xcoffsolib.c (solib_info, sharedlibrary_command): Remove xcoff_relocate_symtab_hook indirection, call xcoff_relocate_symtab directly, as xcoffsolib.c is now compiled in native AIX configurations only. * Makefile.in: Update dependencies for rs6000-tdep.o, rs6000-nat.o and xcoffsolib.o.
2000-11-08Rename get_longjmp_target to m68k_get_longjmp_target. Update all m68kAndrew Cagney7-11/+13
targets.
2000-10-312000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder4-2/+45
* config/sh/tm-linux.h: New file. Include generic tm-linux.h, plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use the sh target function instead of the default link map offsets. * config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES. Use sh/tm-linux.h instead of sh/tm-sh.h. * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): New function. Construct target-specific link map offsets. * i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets: New function. Construct target-specific link map offsets. * config/i386/tm-linux.h: Use above function instead of default. 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS, and inclusion of solib.h. Move up into ../tm-linux.h. config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.
2000-10-30[left out in the previous check-in]Michael Snyder2-2/+2
2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES. * config/powerpc/linux.mh: ditto. * config/ia64/linux.mh: ditto. * config/i386/linux.mh: ditto. * config/alpha/alpha-linux.mh: ditto. * config/arm/linux.mh: ditto. * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES. * config/powerpc/linux.mt: ditto. * config/ia64/linux.mt: ditto. * config/i386/linux.mt: ditto. * config/alpha/alpha-linux.mt: ditto. * config/arm/linux.mt: ditto.
2000-10-302000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder10-10/+10
* config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES. * config/powerpc/linux.mh: ditto. * config/ia64/linux.mh: ditto. * config/i386/linux.mh: ditto. * config/alpha/alpha-linux.mh: ditto. * config/arm/linux.mh: ditto. * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES. * config/powerpc/linux.mt: ditto. * config/ia64/linux.mt: ditto. * config/i386/linux.mt: ditto. * config/alpha/alpha-linux.mt: ditto. * config/arm/linux.mt: ditto.
2000-10-27Corrected spelling errors in comments.David Anderson2-2/+2
gdbarch.{c,sh} removed a word from a comment.
2000-10-26 * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):Peter Schauer2-20/+0
New function. * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Add. * gdbarch.c, gdbarch.h: Regenerate. * valops.c (find_function_addr): Use CONVERT_FROM_FUNC_PTR_ADDR unconditionally. * config/rs6000/tm-rs6000.h (CONVERT_FROM_FUNC_PTR_ADDR): Delete definition. * config/powerpc/tm-linux.h (CONVERT_FROM_FUNC_PTR_ADDR): Remove undef. * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Fix comment. (rs6000_gdbarch_init): Register rs6000_convert_from_func_ptr_addr if not ELFOSABI_LINUX.
2000-10-25Revert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.Kevin Buettner1-1/+1
2000-10-24Reorganize solib.c.Kevin Buettner34-34/+34
2000-10-23Corrected spelling errors in commentsDavid Anderson1-1/+1
2000-10-09 * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolvePeter Schauer1-0/+1
reference to gethostbyname.
2000-09-22 * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,Peter Schauer1-3/+5
OLD_CANNOT_FETCH_REGISTER): New definitions for accessible registers when accessing the registers via the U area. (fetch_register, store_register): Use them. (cannot_fetch_register, cannot_store_register): New functions, all registers should be accessible if we have GETREGS support. * config/i386/nm-linux.h: Use cannot_fetch/store_register for CANNOT_FETCH/STORE_REGISTER definitions.
2000-09-18Enable Mark Kettenis' linux thread support for Linux/PPC.Kevin Buettner2-20/+15