summaryrefslogtreecommitdiff
path: root/gdb/arm-linux-nat.c
Commit message (Collapse)AuthorAgeFilesLines
* * arm-linux-nat.c (store_newfpe_single): Use regcache_collect.Richard Earnshaw2002-02-231-17/+17
| | | | | (store_newfpe_double, store_newfpe_extended, store_fpregister) (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
* * arm-linux-nat.c: Linux -> GNU/Linux when not talking about theRichard Earnshaw2002-02-191-6/+6
| | | | | | kernel. * arm-linux-tdep.c: Likewise. * config/arm/tm-linux.h: Likewise.
* * arm-linux-nat.c: Really include arm-tdep.h.Richard Earnshaw2002-02-121-0/+2
| | | | * config/arm/tm-linux.h (struct type, struct value): Declare.
* * arm-tdep.h: New file.Richard Earnshaw2002-02-111-58/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * arm-tdep.c: Include arm-tdep.h. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Make static. (arm_software_single_step): Similarly. Fix types in declaration. (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) (arm_store_return_value, arm_store_struct_return): New functions. (arm_gdbarch_init): Register the above functions. Also register call_dummy_start_offset, sizeof_call_dummy_words, function_start_offset, inner_than, decr_pc_after_break, fp_regnum, sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, max_register_virtual_size, register_size. Set up prologue_cache.saved_regs here, rather than ... (_initialize_arm_tdep): ... here. * config/arm/tm-arm.h (struct type, struct value): Delete forward declarations. (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) (arm_print_float_info, arm_register_type, convert_to_extended) (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) (arm_extract_return_value, arm_register_name): Delete declarations. (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) (arm_get_next_pc): No-longer static -- these are needed by the RDI interface. * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. * remote-rdi.c remote-rdp.c: Likewise. * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus definition. * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed from non-ARM_ prefixed definitions. * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update all uses of above. * remote-rdi.c remote-rdp.c: Likewise. * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM.
* 2002-01-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-01-081-12/+12
| | | | | * arm-linux-nat.c: Remove references to regcache.c internal data (registers[] and register_valid[]).
* * arm-linux-nat.c: Don't include <asm/ptrace.h>.Daniel Jacobowitz2001-11-171-18/+16
| | | | | | | (fetch_register): Use elf_gregset_t instead of struct pt_regs. (fetch_regs): Likewise. (store_register): Likewise. (store_regs): Likewise.
* * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.Daniel Jacobowitz2001-10-311-0/+2
|
* * arm-linux-nat.c (fill_gregset): Do not check register_valid[].Daniel Jacobowitz2001-10-261-17/+8
| | | | (fill_fpregset): Likewise.
* Redefine ptid_t to be a struct rather than an int.Kevin Buettner2001-05-151-8/+2
|
* Phase 1 of the ptid_t changes.gdb-post-ptid_t-2001-05-03Kevin Buettner2001-05-041-13/+14
|
* Create new file regcache.h. Update all uses.Andrew Cagney2001-03-011-1/+2
|
* 2001-02-04 Philip Blundell <philb@gnu.org>Phil Blundell2001-02-061-4/+4
| | | | | | | | | | | * 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.
* 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.
* Changes to support core files and linux threads.Scott Bambrough2000-04-201-42/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-20 Scott Bambrough <scottb@netwinder.org> * arm-linux-nat.c (PIDGET, TIDGET): New. (get_thread_id, GET_THREAD_ID): New. (fetch_nwfpe_register, store_nwfpe_register): New. (fetch_register, store_register): New. (fetch_fpregister, store_fpregister): New. (fill_gregset, supply_gregset): New. (fill_fpregset, supply_fpregset): New. (fetch_fpregs): Modified to use thread id's. (store_fpregs): Modified to use thread id's and fetch_nwfpe_register. (fetch_regs): Modified to use thread id's. (store_regs): Modified to use thread id's. (fetch_inferior_registers): Modified to handle single register fetches. (store_inferior_registers): Modified to handle single register stores. (arm_linux_register_u_addr): Removed. * configure.tgt: Added gdbserver to configdirs for arm*-*-linux*. * config/arm/linux.mh (NATDEPFILES): Removed core-aout.o. Added core-regset.o. (LOADLIBES): Define. * config/arm/nm-linux.h: Include config/nm-linux.h. (ATTACH_DETACH): Removed. Defined in config/nm-linux.h. (REGISTER_U_ADDR): Removed. (SVR4_SHARED_LIBS): Removed. Defined in config/nm-linux.h. (#include "solib.h"): Removed. Included via config/nm-linux.h.
* Move arm_skip_solib_resolver from arm-linux-nat.c to arm-linux-tdep.c.Scott Bambrough2000-04-101-126/+0
| | | | | | | | 2000-04-10 Philip Blundell <philb@gnu.org> * arm-linux-nat.c (arm_skip_solib_resolver): Remove and move to arm-linux-tdep.c. * arm-linux-tdep.c (arm_skip_solib_resolver): New.
* Unable to build x86 hosted debugger for ARM Linux, due to missing targetScott Bambrough2000-04-051-54/+0
| | | | | | | | | | | | | | | dependencies. Created ARM Linux specific arm-linux-tdep.c file and moved missing code into it from arm-linux-nat.c. 2000-04-05 Scott Bambrough <scottb@netwinder.org> * arm-linux-tdep.c: New file. * arm-linux-nat.c (fetch_fpregs): Remove unused code. (arm_get_longjmp_target): Moved it and all defines it uses to arm-linux-tdep.c. (arm_linux_extract_return_value): Moved to arm-linux-tdep.c. * config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.
* Update copyright date in file.Scott Bambrough2000-02-281-1/+1
|
* 2000-02-28 Scott Bambrough <scottb@netwinder.org>Scott Bambrough2000-02-281-15/+14
| | | | | | | | | | | | * arm-linux-nat.c (fetch_nw_fpe_*): Renamed to fetch_nwfpe_* to use the same naming convention as in the Linux kernel. Modified prototype to get rid of unused parameters. (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same naming convention as in the Linux kernel. Fixed calls to fetch_nwfpe_*. (store_fpregs): Fixed calls to store_nwfpe_*. Removed unused variable.
* Initial revisionJason Molenda1999-12-221-0/+547