aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
AgeCommit message (Collapse)AuthorFilesLines
2001-12-06* config/s390/nm-linux.h: Watchpoints are either continuable orJim Blandy1-1/+0
steppable, not both. The S/390 has continuable watchpoints, so delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
2001-12-05* gdbserver/low-linux.c (arm_register_u_addr): added.Keith Walker2-0/+13
(initialize_arch): added for ARM target. * config/arm/nm-linux.h (U_REGS_OFFSET) defined. (REGISTER_U_ADDR) defined. * config/arm/tm-linux.h (ARM_GNULINUX_TARGET) defined.
2001-12-03Include solib.h.Kevin Buettner2-0/+6
2001-12-02* i386-tdep.c (i386go32_frame_saved_pc): New function.Andrew Cagney1-1/+2
* config/i386/tm-go32.h (i386go32_frame_saved_pc): Declare. (FRAME_SAVED_PC): Redefine to i386go32_frame_saved_pc.
2001-12-02Delete HOST_BYTE_ORDER.Andrew Cagney50-215/+6
2001-12-01Zap sony news (m68k) and ISI (m68k) targets.Andrew Cagney11-503/+0
2001-12-01Zap the ultra series of a29k host and target.Andrew Cagney6-339/+0
2001-12-01Zap Sun's i386i.Andrew Cagney5-264/+0
2001-12-01Zap all but ns32k-netbsd NS32k targets and hosts.Andrew Cagney12-573/+0
2001-12-01Zap harris target and host.Andrew Cagney5-169/+0
2001-12-01Zap some older PPC targets.Andrew Cagney12-280/+0
2001-12-01Zap a29k.Andrew Cagney2-220/+0
2001-12-01Delete tic80 target.Andrew Cagney2-262/+0
2001-12-01Add cross platform SVR4 shared library support for PowerPC.Kevin Buettner11-11/+11
2001-11-30Define SVR4 link map offset fetcher for Linux/ARM.Kevin Buettner1-0/+4
2001-11-27* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS ifChristopher Faylor1-2/+6
HAVE_CONTEXT_EXTENDED_REGISTERS is defined. * win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended registers if HAVE_SSE_REGS is defined. (mappings array): Add offset of extended registers. (thread_rec): Use new CONTEXT_DEBUGGER_DR macro.
2001-11-25 * config/djgpp/config.sed: Fix an error in etc/ at "make install"Eli Zaretskii1-0/+2
time on non-LFN systems where standards*.inf* expands to nothing.
2001-11-24* win32-nat.c (_initialize_check_for_gdb_ini): New function.Christopher Faylor1-10/+0
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__. (GDBINIT_FILENAME): Remove.
2001-11-23Add x86 OpenBSD native configuration.Mark Kettenis4-0/+198
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh, config/i386/nm-obsd.h: New files. * configure.host (i[3456]86-*-openbsd*): New host. * configure.tgt (i[3456]86-*-openbsd*): New target. * NEWS: Update.
2001-11-202001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+1
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern declaration.
2001-11-18* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.Andrew Cagney1-2/+0
* config/i386/tm-i386.h (NUM_REGS): Delete.
2001-11-18Zap config/i386/tm-embed.h.Andrew Cagney2-27/+1
2001-11-17 * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,Daniel Jacobowitz1-1/+1
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies. * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES. * sparc-linux-nat.c: New file, from Mark Kettenis.
2001-11-14* arm-tdep.c (arm_register_type): New function.Andrew Cagney1-26/+2
(arm_register_convertible): Delete. (arm_register_convert_to_virtual): Delete. (arm_register_convert_to_raw): Delete. * config/arm/tm-arm.h (REGISTER_CONVERTIBLE): Delete. (REGISTER_CONVERT_TO_VIRTUAL): Delete. (REGISTER_CONVERT_TO_RAW): Delete. (REGISTER_VIRTUAL_TYPE): Redefine as call to arm_register_type. (arm_register_type): Declare.
2001-11-13Eliminate REGISTER_CONVERTIBLE().Andrew Cagney2-30/+2
2001-11-13Zap REGISTER_CONVERTIBLE from m88k.Andrew Cagney1-31/+2
2001-11-12* i386-tdep.h (FPU_REG_RAW_SIZE): Define unconditionally.Mark Kettenis1-3/+1
* i387-nat.c, i387-tdep.c: Unconditionally include "i386-tdep.h". * config/i386/tm-i386.h (FPU_REG_RAW_SIZE): Removed. (SIZEOF_FPU_REGS): Don't use FPU_REG_RAW_SIZE here.
2001-11-08Enable multi-arch for i386.Andrew Cagney1-0/+2
2001-11-08* config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Define inMark Kettenis1-1/+1
terms of NUM_GREGS, NUM_FREGS and NUM_SSE_REGS instead of hardcoding the register number.
2001-11-06* config/s390/s390.mh (NATDEPFILES): Don't split this acrossJim Blandy1-2/+1
several lines with backslashes; the `sed' command in configure.in's AC_OUTPUT clause that comments out the NATDEPFILES assignment doesn't handle lines extended with backslashes.
2001-11-04Add support for "orig_eax" pseudo register on Linux/x86.Mark Kettenis1-0/+32
* i386-linux-tdep.c: Include "inferior.h". (i386_linux_register_name, i386_linux_register_byte, i386_linux_register_raw_size): New functions. (i386_linux_write_pc): New function. * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): New define. (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, REGISTER_BYTE, REGISTER_RAW_SIZE): Define to deal with additional register. (i386_linux_register_name, i386_linux_register_byte, i386_linux_register_raw_size): New prototypes. (TARGET_WRITE_PC): New define. (i386_linux_write_pc): New prototype.
2001-11-04* i386-tdep.c (i386_register_offset): Renamed fromMark Kettenis1-11/+11
i386_register_byte. Made static. (i386_register_size): Renamed from i386_register_raw_size. Made static. (i386_register_virtual_size): Removed. (i386_register_byte, i386_register_raw_size, i386_register_virtual_size): New functions. (_initialize_i386_tdep): Initialize i386_register_offset instead of i386_register_byte. Remove code to initialize i386_register_virtual_size. * config/i386/tm-i386.h (REGISTER_BYTE): Redefine to use i386_register_byte function. (REGISTER_RAW_SIZE): Redefine to use i386_register_raw_size function. (REGISTER_VIRTUAL_SIZE): Redefine to use i386_register_virtual_size function. (i386_register_byte, i386_register_raw_size, i386_register_virtual_size): New functions.
2001-11-01Approved by kev@cygnus.comFred Fish2-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-31* config/i386/tm-i386.h (REGISTER_NAMES): Remove.Mark Kettenis4-22/+8
(REGISTER_NAME): New define. (i386_register_name): New prototype. * i386-tdep.c (i386_register_names): New variable. (i386_register_name): New function. * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h, config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of REGISTER_NAMES.
2001-10-29* config/i386/tm-i386v.h: Don't include "regcache.h".Mark Kettenis1-48/+0
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS): Remove macros. The versions from "tm-i386.h" should work fine (and in most cases even better).
2001-10-21Add explicit #include of "value.h".Andrew Cagney1-0/+1
2001-10-21 * config/djgpp/README: Fix a typo and tweak for GDB 5.1.Eli Zaretskii1-15/+16
2001-10-20Enable PowerPC simulator on native linux and netbsd.Andrew Cagney2-0/+6
2001-10-15Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that doAndrew Cagney1-4/+0
funnies to integer to address conversions.
2001-10-14* config/s390/nm-linux.h: Don't include <signal.h>.Mark Kettenis1-10/+0
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis9-138/+40
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-10-14Fix attaching to cloned processes. This fixes PR gdb/61.Mark Kettenis1-0/+5
* lin-lwp.c (struct lwp_info): Add new member `cloned'. (is_cloned) Removed. (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call waitpid explicitly. Mark the LWP as cloned if waitpid fails and retry with __WCLONE flag. (lin_lwp_attach): Likewise. Warn if attaching to a cloned process. (detach_callback): Replace use of is_cloned with explicit check on LWP id and process id. (stop_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. [CHILD_WAIT] (child_wait): New function. (lin_lwp_wait): Replace use of is_cloned with check if LWP is marked as cloned. Mark newly detected LWPs as cloned if detected by waitpid with __WCLONE flag. (kill_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. * config/i386/nm-linux.h (struct target_waitstatus): Add forward declaration. (child_wait): Add prototype. (CHILD_WAIT): Define.
2001-10-13S/390 31 & 64 bit target and GNU/Linux native support.Andrew Cagney7-0/+313
Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM. * s390-nat.c, s390-tdep.c: New file. * config/s390/nm-linux.h, config/s390/s390.mh: New file. * config/s390/s390.mt, config/s390/s390x.mt: New file. * config/s390/tm-linux.h, config/s390/tm-s390.h: New file. * config/s390/xm-linux.h: New file. * NEWS: Update. * MAINTAINERS: Update.
2001-10-12* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixesChristopher Faylor1-1/+1
errors in "long long" handling for 'finish' and 'return' commands. * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared library if it has already been loaded. (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see any error messages. (safe_symbol_file_add): Ditto. (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass it to safe_symbol_file_add. (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter. (child_solib_add): Ditto. * win32-nat.c (handle_exception): Don't print "first chance" exceptions. (get_child_debug_event): Continue from exceptions if !handle_exception.
2001-10-06* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.Mark Kettenis1-0/+7
2001-10-02Split SVR4/SunOS solib support.Kevin Buettner8-8/+8
2001-09-21* config/i386/x86-64linux.mh: New file.Jiri Smid4-0/+118
* config/i386/x86-64linux.mt: New file. * config/i386/nm-x86_64.h: New file. * x86-64-linux-tdep.c: New file. * x86-64-linux-nat.c: New file. * x86-64-tdep.c: New file. * x86-64-tdep.h: New file. * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c and x86_64-linux-nat.c * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o, x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
2001-09-19* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): UpdateAndrew Cagney1-1/+1
function signature to match recent tracepoint.c:encode_actions changes. * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
2001-09-08* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.Mark Kettenis1-5/+0
2001-09-08* config/arm/xm-linux.h, config/ia64/xm-linux.h,Mark Kettenis6-18/+0
config/m68k/xm-linux.h, config/mips/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove redundant inclusion of <unistd.h>.