summaryrefslogtreecommitdiff
path: root/gdb/ppc-linux-nat.c
Commit message (Collapse)AuthorAgeFilesLines
* 2002-01-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-01-241-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-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-12-201-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-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-12-091-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-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-11-301-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-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2001-11-201-9/+2
| | | | | | * ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of accessing registers[]. (fill_fpregset): Ditto.
* * ppc-linux-nat.c (supply_gregset): Use elf_greg_t insteadDaniel Jacobowitz2001-07-051-2/+2
| | | | | of greg_t. (fill_gregset): Likewise.
* Update/correct copyright notices.Kevin Buettner2001-03-061-2/+2
|
* Create new file regcache.h. Update all uses.Andrew Cagney2001-03-011-1/+3
|
* Make definitions of supply_gregset, fill_gregset, supply_fpregset,Kevin Buettner2000-09-301-4/+4
| | | | and fill_fpregset match declarations in gregset.h.
* Enable Mark Kettenis' linux thread support for Linux/PPC.Kevin Buettner2000-09-181-0/+45
|
* Protoization.gdb-post-protoization-2000-07-29Kevin Buettner2000-07-301-1/+1
|
* 2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>gdb-pre-params-removal-2000-05-28Michael Snyder2000-05-261-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.
* Cleanups and signal handler backtrace fix for GNU/Linux PPC port.Kevin Buettner2000-02-221-0/+2
|
* Changes for GNU/Linux PPC native port of gdb.Kevin Buettner2000-02-221-0/+76