summaryrefslogtreecommitdiff
path: root/gdb/config
Commit message (Collapse)AuthorAgeFilesLines
* A single-file branch to help me keep things straight while adaptingjimb_gnu_v3_branchcvs/jimb_gnu_v3_branchJim Blandy2001-03-24585-28068/+0
| | | | | | GDB to the GNU V3 C++ ABI. * c-typeprint.c: Commit Dan Berlin's changes.
* Update/correct copyright notices.Kevin Buettner2001-03-06245-249/+347
|
* From 2001-03-01 Tom Rix <trix@redhat.com>:Andrew Cagney2001-03-031-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.
* Move GDB_GREGSET_T, GDB_FPREGSET_T defines from config/ia64/xm-aix.hKevin Buettner2001-03-032-5/+5
| | | | to config/ia64/nm-aix.h.
* 2001-03-02 Matt Hiller <hiller@redhat.com>Matthew Hiller2001-03-021-1/+1
| | | | * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
* * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__J.T. Conklin2001-03-022-2/+18
| | | | | | if __CYGWIN32__ is set from here. * config/i386/xm-cygwin.h: To here. * config/powerpc/xm-cygwin.h: To here.
* * config/sparc/sp64linux.mt: New file.Andrew Cagney2001-02-272-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.
* Replace calls to abort() with calls to internal_error().Kevin Buettner2001-02-255-7/+7
|
* Made changes to shared library support and added more of the support neededKevin Buettner2001-02-226-1/+113
| | | | for AIX/IA-64.
* Enable new thread support for Linux/IA-64.Kevin Buettner2001-02-212-1/+17
|
* * go32-nat.c: Include i387-nat.h.Eli Zaretskii2001-02-181-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.
* Add entries for gdb/gdbtk/*/ChangeLog-*.Eli Zaretskii2001-02-141-0/+10
|
* Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.Peter Schauer2001-02-101-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.
* * config/djgpp/fnchange.lst: Remove extraneous "too many dots".Eli Zaretskii2001-02-081-1/+1
|
* Remove configurations marked as obsolete in 5.0.Andrew Cagney2001-02-0821-2064/+0
|
* 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>Michael Snyder2001-02-061-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-04 Philip Blundell <philb@gnu.org>Phil Blundell2001-02-062-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.
* * config/djgpp/fnchange.lst: Tweak to make consistent with theEli Zaretskii2001-02-041-9/+21
| | | | new files.
* * config/djgpp/djconfig.sh: Use explicit absolute file name whenEli Zaretskii2001-02-041-1/+4
| | | | invoking `find'.
* * configure/sh/embed.mt: New file.J.T. Conklin2001-01-302-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-24 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-01-267-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.
* * config/alpha/tm-fbsd.h: Update copyright.Mark Kettenis2001-01-252-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.
* * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.J.T. Conklin2001-01-233-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.
* * ns32k-tdep.c: #include "frame.h"J.T. Conklin2001-01-2214-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.
* * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.J.T. Conklin2001-01-172-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.
* * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,Nicholas Duffek2001-01-041-2/+2
| | | | REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
* * i386-tdep.c: Add missing ')' in comment.Mark Kettenis2000-12-211-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-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-181-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-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-181-1/+2
| | | | * config/sh/tm-sh.h: Don't remove SR_REGNUM from enum.
* 2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-151-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.
* * gdbserver/low-hppabsd.c (buf2, environ, quit, quit_flag):J.T. Conklin2000-12-082-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-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-071-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-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2000-12-051-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.
* Multiarch STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM,Andrew Cagney2000-12-041-8/+0
| | | | DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM.
* * config/djgpp/config.sed: Fix tweaking "VPATH=.:foo", and handleEli Zaretskii2000-11-131-1/+2
| | | | the gettext's posrcprefix correctly with drive letters.
* * config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.J.T. Conklin2000-11-0913-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.
* Add auto-solib-add support for AIX, remove obsolete and unusedPeter Schauer2000-11-0912-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.
* Rename get_longjmp_target to m68k_get_longjmp_target. Update all m68kAndrew Cagney2000-11-087-11/+13
| | | | targets.
* 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-10-314-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.
* [left out in the previous check-in]Michael Snyder2000-10-302-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-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-10-3010-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.
* Corrected spelling errors in comments.David Anderson2000-10-272-2/+2
| | | | gdbarch.{c,sh} removed a word from a comment.
* * arch-utils.c, arch-utils.h (default_convert_from_func_ptr_addr):Peter Schauer2000-10-262-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.
* Revert change of 2000-10-24 in which solib-svr4.o was added to TDEPFILES.Kevin Buettner2000-10-251-1/+1
|
* Reorganize solib.c.Kevin Buettner2000-10-2434-34/+34
|
* Corrected spelling errors in commentsDavid Anderson2000-10-231-1/+1
|
* * config/i386/i386sol2.mh: Add XM_CLIBS definition to resolvePeter Schauer2000-10-091-0/+1
| | | | reference to gethostbyname.
* * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,Peter Schauer2000-09-221-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.
* Enable Mark Kettenis' linux thread support for Linux/PPC.Kevin Buettner2000-09-182-20/+15
|
* * config/i386/nbsd.mt (TDEPFILES): Add i386nbsd-tdep.o.J.T. Conklin2000-09-071-1/+1
| | | | | | * i386nbsd-nat.c (i386nbsd_use_struct_convention): Moved from here. * i386nbsd-tdep.c (i386nbsd_use_struct_convention): To here. * i386nbsd-tdep.c: New file.