aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/powerpc
AgeCommit message (Collapse)AuthorFilesLines
2002-12-02 * config/powerpc/aix432.mh (NATDEPFILES): Add a comment explainingJoel Brobecker1-0/+2
why aix-thread.o is not listed.
2002-11-29 * configure.in: Check that the pthdebug library is recent enoughJoel Brobecker1-3/+1
before enabling thread support on native AiX. * configure: Regenerate. * config/powerpc/aix432.mh (NATDEPFILES): Remove aix-thread.o from the list of object files as it is now appended by configure if thread support is enabled. (NAT_CLIBS): Removed as -lpthdebug is also appended by configure if thread support is enabled.
2002-07-30Configury changes to enable recently added AIX thread support.Kevin Buettner1-0/+19
2002-07-30 * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)Daniel Jacobowitz2-3/+3
(ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums. (fetch_core_registers, ppc_linux_supply_gregset) (ppc_linux_supply_fpregset): New functions. (ppc_linux_regset_core_fns): New. (_initialize_ppc_linux_tdep): Call add_core_fns. * ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset and ppc_linux_supply_gregset. * ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset. (supply_fpregset): Call ppc_linux_supply_fpregset. * config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and corelow.o. * config/powerpc/linux.mt (TDEPFILES): Add corelow.o.
2002-06-05* config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xmAndrew Cagney4-4/+4
includes. * config/tm-linux.h: Ditto. * config/alpha/tm-alphalinux.h: Ditto. * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto.
2002-05-30* Makefile.in (ppc_tdep_h): Define.Jason Thorpe9-9/+10
(ppc-linux-nat.o) (ppc-linux-tdep.o) (rs6000-tdep.o): Use $(ppc_tdep_h). (ppc-sysv-tdep.o) (ppcnbsd-nat.o) (ppcnbsd-tdep.o): New dependency lists. * ppc-tdep.h: Use generic OS ABI framework. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep, ppc_linux_init_abi): New functions. (ppc_sysv_abi_broken_use_struct_convention) (ppc_sysv_abi_use_struct_convention) (ppc_sysv_abi_push_arguments): Move to... * ppc-sysv-tdep.c: ...here. * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. * rs6000-tdep.c (process_note_abi_tag_sections) (get_elfosabi): Remove. (rs6000_gdbarch_init): Use generic OS ABI framework. (rs6000_dump_tdep): New function. (_initialize_rs6000_tdep): Use gdbarch_register. * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead of ppc-linux-tdep.o. * config/powerpc/nbsd.mt (TDEPFILES): Likewise. * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. * config/powerpc/vxworks.mt (TDEPFILES): Likewise.
2002-05-28* ppcnbsd-nat.c: Rewrite.Jason Thorpe2-3/+3
* ppcnbsd-tdep.c: New file. * ppcnbsd-tdep.h: New file. * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, solib.o, and solib-svr4.o. * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, nbsd-tdep.o, and corelow.o.
2002-05-22* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h andJason Thorpe2-5/+2
nbsd-tdep.h to dependency list. * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use nbsdaout.mh and nbsdelf.mh consistently. * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use nbsdaout.mt and nbsdelf.mh consistently. * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move a.out shared library stuff from here... * config/nm-nbsdaout.h: ...to here. * config/tm-nbsd.h: Remove. * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. * config/arm/nbsd.mh: Remove. * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add nbsd-tdep.o. * config/arm/nbsdaout.mh: New file. * config/arm/nbsdelf.mh: New file. * config/arm/nm-nbsdaout.h: New file. * config/i386/nbsd.mh: Remove. * config/i386/nbsd.mt: Remove. * config/i386/nbsdaout.mh: New file. * config/i386/nbsdaout.mt: New file. * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. * config/i386/nm-nbsd.h (REGISTER_U_ADDR, i386_register_u_addr): Remove. * config/i386/nm-nbsdaout.h: New file. * config/i386/nm-nbsdelf.h: Remove. * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. (USE_STRUCT_CONVENTION): Remove. * config/i386/tm-nbsdaout.h: New file. * config/i386/tm-nbsdelf.h: Remove. * config/m68k/nbsd.mh: Remove. * config/m68k/nbsd.mt: Remove. * config/m68k/nbsdaout.mh: New file. * config/m68k/nbsdaout.mt: New file. * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. * config/m68k/nm-nbsdaout.h: New file. * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/ns32k/nbsd.mh: Remove. * config/ns32k/nbsd.mt: Remove. * config/ns32k/nbsdaout.mh: New file. * config/ns32k/nbsdaout.mt: New file. * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. * config/ns32k/nm-nbsdaout.h: New file. * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. (IN_SOLIB_CALL_TRAMPOLINE): Define. * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. (SVR4_SHARED_LIBS): Remove. * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. * config/sparc/nbsd.mh: Remove. * config/sparc/nbsd.mt: Remove. * config/sparc/nbsdaout.mh: New file. * config/sparc/nbsdaout.mt: New file. * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. * config/sparc/nbsdelf.mt: New file. * config/sparc/nm-nbsdaout.h: New file. * config/sparc/nm-nbsdelf.h: Remove. * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. * config/sparc/tm-nbsdaout.h: New file.
2002-05-11* config/i386/nbsd.mh (NATDEPFILES): Use line continuations.Jason Thorpe1-1/+2
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise. * config/m68k/nbsd.mh (NATDEPFILES): Likewise. * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. * config/sparc/nbsd.mh (NATDEPFILES): Likewise. * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
2002-05-04* MAINTAINERS: Mark a29k as deleted.Andrew Cagney1-2/+0
* NEWS: Mention that a29k was removed. Add OBSOLETE section. Move new configurations to the top. * configure.tgt: Remove a29k. * config/a29k/tm-vx29k.h: Delete. * config/a29k/vx29k.mt: Delete. * config/a29k/tm-a29k.h: Delete. * config/a29k/a29k-udi.mt: Delete. * config/a29k/a29k.mt: Delete. * a29k-tdep.c: Delete. * remote-udi.c: Delete. * remote-mm.c: Delete. * remote-eb.c: Delete. * remote-adapt.c: Delete. * Makefile.in: Remove obsolete code. * gdbserver/Makefile.in: Ditto. * config/s390/s390x.mt: Ditto. * config/s390/s390.mt: Ditto. * config/sparc/sparclynx.mh: Ditto. * config/sparc/linux.mh: Ditto. * config/pa/hppaosf.mh: Ditto. * config/pa/hppabsd.mh: Ditto. * config/ns32k/nbsd.mt: Ditto. * config/mips/vr5000.mt: Ditto. * config/m68k/sun3os4.mh: Ditto. * config/m68k/nbsd.mt: Ditto. * config/m68k/m68klynx.mh: Ditto. * config/m32r/m32r.mt: Ditto. * config/i386/x86-64linux.mt: Ditto. * config/i386/nbsdelf.mt: Ditto. * config/i386/nbsd.mt: Ditto. * config/i386/i386lynx.mh: Ditto.
2002-04-12Delete DEFAULT_LR_SAVE.Kevin Buettner1-3/+0
2002-04-09 * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete.Kevin Buettner1-3/+0
* rs6000-tdep.c (rs6000_push_arguments): Eliminate ELF_OBJECT_FORMAT ifdef.
2002-02-24s/Linux/.../Andrew Cagney1-2/+3
Fix PR gdb/378.
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+2
* config/arm/linux.mt: Update GDBSERVER_DEPFILES. * config/i386/linux.mt: Likewise. * config/ia64/linux.mt: Likewise. * config/m68k/linux.mh: Likewise. * config/powerpc/linux.mh: Likewise. * config/mips/linux.mt: Likewise. * config/sh/linux.mt: Add GDBSERVER_DEPFILES. * config/i386/i386lynx.mh: Mark gdbserver variables as (currently) obsolete for this target. * config/i386/nbsd.mt: Likewise. * config/i386/nbsdelf.mt: Likewise. * config/m32r/m32r.mt: Likewise. * config/m68k/m68klynx.mh: Likewise. * config/m68k/nbsd.mt: Likewise. * config/m68k/sun3os4.mh: Likewise. * config/mips/vr5000.mt: Likewise. * config/ns32k/nbsd.mt: Likewise. * config/pa/hppabsd.mh: Likewise. * config/pa/hppaosf.mh: Likewise. * config/powerpc/nbsd.mt: Likewise. * config/rs6000/rs6000lynx.mh: Likewise. * config/s390/s390.mt: Likewise. * config/s390/s390x.mt: Likewise. * config/sparc/sparclynx.mh: Likewise. * config/sparc/sun4os4.mh: Likewise. * config/i386/x86-64linux.mt: Likewise. * config/sparc/linux.mh: Likewise.
2002-02-08* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):Andrew Cagney1-3/+0
Delete macro. (second attempt).
2002-01-20Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.Andrew Cagney1-2/+0
2002-01-18Remove XDEPFILES from GDB.Andrew Cagney3-3/+0
2002-01-092002-01-03 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+2
Implement a "generate-core-file" command in gdb, save target state. * gcore.c: New file. Implement new command 'generate-core-file'. Save a corefile image of the current state of the inferior. * linux-proc.c: Add linux-specific code for saving corefiles. * target.h (struct target_ops): Add new target vectors for saving corefiles; to_find_memory_regions and to_make_corefile_notes. (target_find_memory_regions): New macro. (target_make_corefile_notes): New macro. * target.c (update_current_target): Inherit new target methods. (dummy_find_memory_regions): New place-holder method. (dummy_make_corefile_notes): New place-holder method. (init_dummy_target): Initialize new dummy target vectors. * exec.c (exec_set_find_memory_regions): New function. Allow the exec_ops vector for memory regions to be taken over. (exec_make_note_section): New function, target vector method. * defs.h (exec_set_find_memory_regions): Export prototype. * procfs.c (proc_find_memory_regions): New function, corefile method. (procfs_make_note_section): New function, corefile method. (init_procfs_ops): Set new target vector pointers. (find_memory_regions_callback): New function. (procfs_do_thread_registers): New function. (procfs_corefile_thread_callback): New function. * sol-thread.c (sol_find_memory_regions): New function. (sol_make_note_section): New function. (init_sol_thread_ops): Initialize new target vectors. * inftarg.c (inftarg_set_find_memory_regions): New function. Allow to_find_memory_regions vector to be taken over. (inftarg_set_make_corefile_notes): New function. Allow to_make_corefile_notes vector to be taken over. * thread-db.c (thread_db_new_objfile): Don't activate thread-db interface layer if not target_has_execution (may be a corefile). * config/i386/linux.mh: Add gcore.o to NATDEPFILES. * config/sparc/sun4sol2.mh: Ditto. * config/alpha/alpha-linux.mh: Ditto. * config/arm/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-082002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+1
* linux-proc.c: New file. Implement child_pid_to_exec_file, so that attaching to a pid will automatically read the process's symbol file and shlibs. * Makefile.in: Add rule for linux-proc.o. * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. * config/arm/linux.mh: Ditto. * config/i386/linux.mh: Ditto. * config/i386/x86-64linux.mh: Ditto. * config/ia64/linux.mh: Ditto. * config/m68k/linux.mh: Ditto. * config/mips/linux.mh: Ditto. * config/powerpc/linux.mh: Ditto. * config/sparc/linux.mh: Ditto.
2002-01-05Remove obsolete MacOS support.Andrew Cagney4-55/+0
2001-12-24powerpc aix build failure. Add self to maintainers.Tom Rix1-1/+1
2001-12-202001-12-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-6/+2
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): New function. (fetch_register): New function. (fetch_ppc_registers): New function. (fetch_inferior_registers): New function. (store_register): New function. (store_ppc_registers): New function. (store_inferior_registers): New function. (ppc_register_u_addr): Eliminate ustart parameter and its uses. Make static. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed. Include sys/ptrace.h. * config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. (U_REGS_OFFSET, REGISTER_U_ADDR): Delete. * config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
2001-12-15LITTLE_ENDIAN -> BFD_ENDIAN_LITTLEAndrew Cagney1-1/+1
2001-12-03Include solib.h.Kevin Buettner2-0/+6
2001-12-02Delete HOST_BYTE_ORDER.Andrew Cagney1-2/+0
2001-12-01Zap some older PPC targets.Andrew Cagney12-280/+0
2001-12-01Add cross platform SVR4 shared library support for PowerPC.Kevin Buettner8-8/+8
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-10-20Enable PowerPC simulator on native linux and netbsd.Andrew Cagney2-0/+6
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis1-16/+0
(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-09-08* config/arm/xm-linux.h, config/ia64/xm-linux.h,Mark Kettenis1-3/+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>.
2001-08-27From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:Andrew Cagney2-23/+0
* config/powerpc/nbsd.mh (XM_FILE): Delete.
2001-07-242001-07-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+3
* config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker doesn't understand them.
2001-07-23* configure.in (AC_CHECK_FUNCS): Add setpggrp.Mark Kettenis1-2/+0
(AC_FUNC_SETPGRP): Add. * aclocal.m4, configure, config.in: Regenerated. * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and SETPGRP_ARGS. Always use setpgid if it is available, fall back on setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to distinguish between the two setpgrp flavours. * config/xm-sysv4.h, config/arm/xm-linux.h, config/i386/xm-i386aix.h, config/i386/xm-sco.h, config/i386/xm-linux.h, config/i386/xm-ptx.h, config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h, config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove. * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
2001-07-12* config/arm/xm-linux.h, config/i386/xm-linux.h,Mark Kettenis1-2/+0
config/m68k/xm-linux.h, config/powerpc/xm-linux.h, config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS): Removed. Taken care of by autoconf and terminal.h.
2001-07-12* config/powerpc/xm-linux.h: Fix corrupted file.Mark Kettenis1-24/+2
2001-07-11* config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longerMark Kettenis1-4/+0
used.
2001-06-28Exterminate ser-ocd.c.Andrew Cagney4-4/+4
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-2/+2
2001-04-19Obsolete MPW as host.Andrew Cagney1-23/+23
2001-04-06Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platformsAndrew Cagney11-256/+255
and powerpc-*-netware* target.
2001-03-20Change SOFTWARE_SINGLE_STEP_P into SOFTWARE_SINGLE_STEP_P().Andrew Cagney2-2/+2
2001-03-20Replace abort() with internal_error().Andrew Cagney1-1/+1
2001-03-14Include regcache.hAndrew Cagney1-0/+2
2001-03-10Cleanup solib-svr4.c by moving legacy code out to its own file.Kevin Buettner3-4/+4
2001-03-06Update/correct copyright notices.Kevin Buettner15-15/+17
2001-03-02* defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__J.T. Conklin1-1/+9
if __CYGWIN32__ is set from here. * config/i386/xm-cygwin.h: To here. * config/powerpc/xm-cygwin.h: To here.
2001-01-22* ns32k-tdep.c: #include "frame.h"J.T. Conklin2-2/+2
* 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.
2000-11-09* config/i386/nbsd.mh: Remove solib.o, solib-svr4.o from NATDEPFILES.J.T. Conklin2-2/+2
* 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 Schauer5-7/+3
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.