aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/arm
AgeCommit message (Collapse)AuthorFilesLines
2002-05-16* config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include genericRichard Earnshaw1-1/+1
include file of the same name.
2002-05-15* config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h.Richard Earnshaw1-7/+1
(REGISTER_U_ADDR): Delete definition. (arm_register_u_addr): Delete declaration.
2002-02-26* config/arm/tm-embed.h (TARGET_UPAGES): Delete.Richard Earnshaw1-12/+0
(TARGET_NBPG, STACK_END_ADDR): Delete (VARIABLES_INSIDE_BLOCK): Delete.
2002-02-23* arm-linux-tdep.c (arm_linux_init_abi): RegisterRichard Earnshaw1-12/+4
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old definition with undef, since we don't want the sysvr4 definition. (SKIP_TRAMPOLINE_CODE): Likewise.
2002-02-23* arm-linux-tdep.c (arm_linux_extract_return_value): Make static.Richard Earnshaw1-40/+0
(arm_linux_push_arguments): Likewise. (arm_linux_init_abi): Register them. Also register linux-specific call_dummy_words. (find_minsym_and_objfile): Use strcmp, not STREQ. * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. (arm_linux_call_dummy_words): Delete declaration. (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. (arm_linux_extract_return_value, arm_linux_push_arguments): Delete declarations. (LOWEST_PC): Delete.
2002-02-19* arm-linux-nat.c: Linux -> GNU/Linux when not talking about theRichard Earnshaw1-12/+14
kernel. * arm-linux-tdep.c: Likewise. * config/arm/tm-linux.h: Likewise.
2002-02-19* configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch.Richard Earnshaw2-30/+0
* config/arm/nbsd.mt (TM_FILE): Delete. * config/arm/tm-nbsd.h: Delete.
2002-02-19* armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): NewRichard Earnshaw1-6/+0
function. (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only defines one thing and that is incorrect for this port. (IN_SOLIB_CALL_TRAMPOLINE): Delete.
2002-02-18* config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o.Richard Earnshaw1-1/+1
2002-02-18* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function.Richard Earnshaw1-4/+0
(arm_fix_call_dummy): Call it. (arm_call_dummy_breakpoint_offset): Delete. (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete.
2002-02-18* arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double.Richard Earnshaw1-2/+0
* config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete.
2002-02-18* gdbarch.sh (GET_LONGJMP_TARGET): Add rule.Richard Earnshaw2-21/+0
* gdbarch.c gdbarch.h: Regenerate. * breakpoint.c (create_longjmp_breakpoint): Always compile this function. (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). * infrun.c (GET_LONGJMP_TARGET): Delete default definition. (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. * arm-tdep.c (arm_get_longjmp_target): New function. (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes this to a positive value register arm_get_longjmp_target as the longjmp handler. * arm-linux-tdep.c (arm_get_longjmp_target): Delete. (arm_linux_init_abi): Set up longjmp description in tdep. * armnbsd-nat.c (get_longjmp_target): Delete. * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp description in tdep. * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. (get_longjmp_target): Delete declaration. (GET_LONGJMP_TARGET): Delete. * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. (GET_LONGJMP_TARGET): Delete.
2002-02-15* arm-tdep.h (struct gdbarch_tdep): Add fields for breakpointRichard Earnshaw3-50/+0
descriptions. * arm-tdep.c (arm_default_arm_le_breakpoint) (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) (arm_default_thumb_be_breakpoint): New. Initialize them from traditional breakpoint defines. (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. (arm_gdbarch_init): Initialize new breakpoint variables. * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. (arm_linux_init_abi): Initialize linux-specific breakpoint. * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common code out to ... (arm_netbsd_init_abi_common): ... here; new function. * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete.
2002-02-15* arm-tdep.h (enum arm_abi): New enum.Richard Earnshaw3-8/+1
(struct gdbarch_tdep): New structure. (LOWEST_PC): Provide a default. (arm_gdbarch_register_os_abi): Declare new function. * arm-tdep.c (arm_abi_names): New array. (process_note_abi_tag_sections): New function. (get_elfosabi): New function. (arm_gdbarch_register_os_abi): New function. (arm_gdbarch_init): Try to determine the ABI of the inferior. If support for that ABI has been built in, then call the appropriate configuration routine. Use gdbarch_num_regs() to get the number of registers. (arm_dump_tdep): New function. (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New place-holder functions. (_initialize_arm_tdep): Register them. * config/arm/tm-arm.h (LOWEST_PC): Delete. * armnbsd-tdep.c: New file. * Makefile.in (armnbsd-tdep.o): Add dependencies. * config/arm/nbsd.mt (TDEPFILES): Add it. * config/arm/tm-nbsd.h (LOWEST_PC): Delete. * armnbsd-nat.c: Include regcache.h. * Makefile.in (armnbsd-nat.o): Update dependency list. * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message.
2002-02-14 * arm-tdep.c (arm_push_arguments): Eliminate special float typeCorinna Vinschen1-0/+2
handling. * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call standard_coerce_float_to_double().
2002-02-142002-02-14 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* 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-13* arm-tdep.c (arm_use_struct_convention): Make static. Move to beRichard Earnshaw1-20/+0
with other related struct-returning functions. (arm_extract_struct_value_address): New function. (arm_gdbarch_init): Initialize the above in multi-arch vector. Also initialize float_format, double_format and long_double_format as appropriate to the endianness of the target. * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. (arm_use_struct_convention): Delete declaration. (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete.
2002-02-12* arm-linux-nat.c: Really include arm-tdep.h.Richard Earnshaw1-0/+2
* config/arm/tm-linux.h (struct type, struct value): Declare.
2002-02-11* arm-tdep.h: New file.Richard Earnshaw2-259/+1
* 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-02-11* arm-tdep.c (arm_frameless_function_invocation)Richard Earnshaw1-74/+0
(arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) (arm_pop_frame, arm_get_next_pc): Make static. (arm_gdbarch_init): Register above in gdbarch structure. (arm_read_fp): Renamed from arm_target_read_fp. (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. * config/arm/tm-arm.h (arm_frameless_function_invocation) (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) (arm_pc_is_thumb_dummy): Delete declarations.
2002-02-08* arm-tdep.c (arm_frame_chain_valid): Make static.Richard Earnshaw1-13/+5
(arm_push_arguments): Likewise. (arm_gdbarch_init): New function. (_initialize_arm_tdep): Call it. * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. (FRAME_CHAIN_VALID): Delete. (arm_frame_chain_valid): Delete declaration. (PUSH_ARGUMENTS): Delete. (arm_push_arguments): Delete declaration. (CALL_DUMMY_P): Delete.
2002-02-06* arm-tdep.c: Include elf-bfd.h and coff/internal.h.Richard Earnshaw1-36/+10
(MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines to here from config/tm-arm.h. (coff_sym_is_thumb): Make static. (arm_elf_make_msymbol_special): New function. (arm_coff_make_msymbol_special): New function. * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. (coff_sym_is_thumb): Delete declaration. (arm_elf_make_msymbol_special): Declare. (arm_coff_make_msymbol_special): Declare. (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
2002-02-06* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.Richard Earnshaw1-6/+2
* gdbarch.c gdbarch.h: Regenerate. * arch-utils.c (default_print_float_info): New function. * arch-utils.h (default_print_float_info): Prototype it. * infcmd.c (float_info): Call PRINT_FLOAT_INFO. * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. (PRINT_FLOAT_INFO): Document it. * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. * config/arm/tm-arm.h (FLOAT_INFO): Delete. (PRINT_FLOAT_INFO): Define.
2002-02-04* gdbarch.sh (copyright): Update years in generated header.Richard Earnshaw1-8/+3
(SMASH_TEXT_ADDRESS): Add rule. *gdbarch.h, gdbarch.c: Re-generate. * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. * dbxread.c: Likewise. * dwarfread.c: Likewise. * elfread.c: Likewise. * somread.c: Likewise. * arm-tdep.c (arm_smash_text_address): New function. * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above.
2002-02-01* arm-tdep.c (arm_frameless_function_invocation): Add some comments.Richard Earnshaw1-34/+14
(arm_frame_args_address, arm_frame_locals_address): New functions. (arm_frame_num_args): New function. * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. (FRMA_NUM_ARGS): Call arm_frame_num_args.
2002-01-30* arm-tdep.c (arm_call_dummy_words): Define.Richard Earnshaw2-17/+7
* arm-linux-tdep.c (arm_linux_call_dummy_words): Define. * config/arm/tm-arm.h (CALL_DUMMY_P): Define. (CALL_DUMMY_WORDS): Define. (arm_call_dummy_words): Declare. * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. (arm_linux_call_dummy_words): Declare.
2002-01-29* arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro.Andrew Cagney1-4/+3
(target_byte_order): Initialize to BFD_ENDIAN_BIG. (initialize_current_architecture): Update target_byte_order using information from BFD. * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. Update doco.
2002-01-21* arm-tdep.c (arm_register_name): New function.Richard Earnshaw1-4/+2
(arm_registers_names): Make static. * config/arm/tm-arm.h (arm_register_names): Delete declaration. (arm_register_name): Declare. (REGISTER_NAME): Use it.
2002-01-21Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw1-20/+4
and Kevin Buettner <kevinb@redhat.com> Convert arm targets to new FRAME interface. * arm-tdep.c (struct frame_extra_info): Remove fsr. (arm_frame_find_save_regs): Delete. (arm_frame_init_saved_regs): New. (arm_init_extra_frame_info): Alloacte saved_regs as required. Allocate extra_info as required. Convert all uses of fsr.regs to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields to use extra_info. (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. (check_prologue_cache, save_prologue_cache): Likewise. (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. (FRAME_FIND_SAVED_REGS): Delete. (arm_frame_find_saved_regs): Delete prototype. (arm_frame_init_saved_regs): New prototype. (FRAME_INIT_SAVED_REGS): Define.
2002-01-20Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.Andrew Cagney3-9/+0
2002-01-20Eliminate IEEE_FLOAT.Andrew Cagney1-1/+0
2002-01-18Remove XDEPFILES from GDB.Andrew Cagney2-2/+0
2002-01-09* config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.Richard Earnshaw3-3/+3
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. * config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2002-01-092002-01-03 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+1
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-05s/BIG_ENDIAN/BFD_ENDIAN_BIG/Andrew Cagney1-1/+1
2002-01-04* config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.Jason Thorpe1-1/+1
2001-12-192001-12-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-5/+7
* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P. Always define SOFTWARE_SINGLE_STEP. * config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P. * arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Always compile these functions. (arm_software_single_step): Fix second argument in function calls.
2001-12-172001-12-17 Ben Harris <bjh21@netbsd.org>Ben Harris1-1/+1
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c. * armnbsd-nat.c: New file, renamed from armbsd-nat.c. * Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c. * config/arm/nbsd.mh: Likewise.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-3/+13
From Richard Earnshaw <rearnsha@arm.com>: * arm-tdep.c (arm_software_single_step): New function. Implements software single-stepping for ARM targets. (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only needed for software single-stepping. * config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser5-0/+123
From Richard Earnshaw <rearnsha@arm.com>: * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h, config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files. * armbsd-nat.c: New file. * Makefile.in: Build it. * configure.host, configure.tgt: Support NetBSD/arm.
2001-12-15LITTLE_ENDIAN -> BFD_ENDIAN_LITTLEAndrew Cagney1-1/+1
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-02Delete HOST_BYTE_ORDER.Andrew Cagney1-2/+0
2001-11-30Define SVR4 link map offset fetcher for Linux/ARM.Kevin Buettner1-0/+4
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-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-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-3/+1
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.