aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-nat.c
AgeCommit message (Collapse)AuthorFilesLines
2003-09-142003-09-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+2
* alpha-nat.c: Remove some occurances of "register". * alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto. * buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto. * corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto. * dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto. * environ.c, eval.c, event-top.c, f-typeprint.c: Ditto. * f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto. * h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto. * hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto. * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto. * infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto. * jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto. * mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto. * mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto. * ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto. * p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto. * remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto. * rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto. * solib.c, somread.c, source.c, sparc-tdep.c: Ditto. * stabsread.c, stack.c, standalone.c, symfile.c: Ditto. * symmisc.c, symtab.c, top.c, tracepoint.c: Ditto. * typeprint.c, utils.c, valarith.c, valops.c: Ditto. * values.c, vax-tdep.c, xcoffread.c: Ditto.
2003-06-13* ppc-linux-nat.c (ppc_register_u_addr): Correctly compute u-areaJim Blandy1-11/+14
register offsets for both the 32- and 64-bit interfaces.
2003-06-12* ppc-linux-nat.c (ppc_register_u_addr, fill_gregset): If PT_MQJim Blandy1-0/+4
isn't #defined, assume the register doesn't exist: act as if tdep->ppc_mq_regnum were -1.
2003-05-28* ppc-linux-nat.c (store_altivec_registers): Don't cast fourthJim Blandy1-2/+2
argument to ptrace to int; the system headers should give it the right type, and pointers don't fit in ints on powerpc64-*-*.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-2/+2
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. (legacy_max_register_raw_size): Delete declaration. * regcache.c (legacy_max_register_raw_size): Delete function. * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Update. * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Update. * remote-rdp.c, remote-array.c, regcache.c: Update. * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Update. * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Update. * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Update. * findvar.c, dwarf2cfi.c: Update. Index: tui/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * tuiRegs.c: Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE. Index: mi/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE.
2003-02-072003-02-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney1-3/+4
* Makefile.in (symm-nat.o): Update dependencies. (sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto. (lynx-nat.o, ia64-linux-nat.): Ditto. * symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include "gdb_wait.h" instead of <wait.h> or <sys/wait.h>. * ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2002-12-062002-12-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+1
* ia64-linux-nat.c: Include gdb_string.h. * alpha-nat.c: Ditto. * ia64-linux-nat.c: Ditto.
2002-07-30 * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)Daniel Jacobowitz1-21/+2
(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-04-11Add support for the fpscr register for Power / PowerPC targets.Kevin Buettner1-4/+25
2002-02-212002-02-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-14/+243
* ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. (have_ptrace_getvrregs): Define for run time checks. (gdb_vrregset_t): New type for Altivec register handling. (fetch_register, store_register): Fetch/store altivec register when needed. (fetch_altivec_register, store_altivec_register): New functions. (supply_vrregset, fill_vrregset): New functions. (fetch_altivec_registers, store_altivec_registers): New functions. (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec registers as well.
2002-02-182002-02-18 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-38/+35
* ppc-linux-nat.c: Update copyright. (fetch_register, store_register): Add tid parameter, don't compute tid here. (fetch_ppc_registers, store_ppc_registers): Add tid parameter. Pass it along to callees. (fetch_inferior_registers, store_inferior_registers): Compute tid here, and pass it to calleed functions. (fill_gregset, supply_fpregset): Clean up formatting.
2002-01-242002-01-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-38/+28
* ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, fill_gregset): Call gdbarch_tdep() just once, assign result to variable and use that, instead of calling the function several times.
2001-12-202001-12-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-12/+146
* 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-092001-12-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-25/+45
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove definition, it is now multiarched. * ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c. Add fields for special register numbers. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special regnum fields. (rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields instead of hardcoded macros. (branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy, ppc_push_return_address, rs6000_frame_saved_pc, frame_get_saved_regs, rs6000_frame_chain, rs6000_store_return_value): Ditto. (rs6000_stab_reg_to_regnum): New function. * ppcnbsd-nat.c (fetch_inferior_registers, store_inferior_registers, fetch_core_registers): Ditto. * ppc-linux-tdep.c (ppc_linux_in_sigtramp, ppc_linux_frame_init_saved_regs): Ditto. * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, fill_gregset): Ditto. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Ditto.
2001-11-302001-11-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-23/+64
* Makefile.in (ppc-linux-nat.o): Add dependency on ppc-tdep.h. * ppc-tdep.h (PPC_GPLAST_REGNUM): Define. * ppc-linux-nat.c: Include ppc-tdep.h. (ppc_register_u_addr): Don't use the static array regmap[], dynamically define the mapping instead. (supply_gregset): Ditto. (fill_gregset): Ditto. (COPY_REG): Delete macro defintion. (regmap): Delete array.
2001-11-20 2001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-9/+2
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of accessing registers[]. (fill_fpregset): Ditto.
2001-07-05 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t insteadDaniel Jacobowitz1-2/+2
of greg_t. (fill_gregset): Likewise.
2001-03-06Update/correct copyright notices.Kevin Buettner1-2/+2
2001-03-01Create new file regcache.h. Update all uses.Andrew Cagney1-1/+3
2000-09-30Make definitions of supply_gregset, fill_gregset, supply_fpregset,Kevin Buettner1-4/+4
and fill_fpregset match declarations in gregset.h.
2000-09-18Enable Mark Kettenis' linux thread support for Linux/PPC.Kevin Buettner1-0/+45
2000-07-30Protoization.Kevin Buettner1-1/+1
2000-05-262000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-0/+3
* gregset.h: New file. Typedefs for gdb_gregset_t and gdb_fpregset_t, prototypes for supply_gregset and friends. * procfs.c: Include gregset.h. Delete local prototypes for supply_gregset etc., and local typedef gdb_gregset_t etc. * sol-thread.c: Include gregset.h, delete local prototypes, add appropriate casts to gdb_gregset_t. * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c, sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c, m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c, irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c, arm-linux-nat.c, alpha-nat.c: Include gregset.h. * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T. * config/sparc/tm-sun4sol2.h: Ditto.
2000-02-22Cleanups and signal handler backtrace fix for GNU/Linux PPC port.Kevin Buettner1-0/+2
2000-02-22Changes for GNU/Linux PPC native port of gdb.Kevin Buettner1-0/+76