aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/alpha
AgeCommit message (Collapse)AuthorFilesLines
2002-06-05* config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xmAndrew Cagney2-2/+2
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-22* config/alpha/tm-nbsd.h: Include solib.h.Jason Thorpe1-0/+1
2002-05-22* Makefile.in (armnbsd-tdep.o): Add solib-svr4.h andJason Thorpe1-2/+0
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* Makefile.in (ALLDEPFILES): Add nbsd-tdep.c.Jason Thorpe1-1/+1
(alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. (nbsd-tdep.o): New dependency list. * alphanbsd-tdep.c: Don't include solib-svr4.h. Include nbsd-tdep.h. (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. * nbsd-tdep.c: New file. * nbsd-tdep.h: New file. * shnbsd-tdep.c: Don't include solib-svr4.h. Include nbsd-tdep.h. (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. * config/sh/nbsd.mt (TDEPFILES): Ditto.
2002-05-11* config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o.Jason Thorpe2-2/+3
* config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o.
2002-05-11* Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c.Jason Thorpe1-1/+1
(alphanbsd-nat.o): Remove dependency list. (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. * alphanbsd-nat.c: Delete. Contents moved to... * alphanbsd-tdep.c: ...here. (_initialize_alphanbsd_tdep): Register core functions. * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o.
2002-05-11* Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c.Jason Thorpe2-2/+2
(alphabsd-nat.o): Depend on alphabsd-tdep.h. (alphanbsd-nat.o): Likewise. (alphabsd-tdep.o): New dependency list. * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. (fill_gregset): Use alphabsd_fill_reg. (supply_fpregset): Use alphabsd_supply_fpreg. (fill_fpregset): Use alphabsd_fill_fpreg. (fetch_inferior_registers): Use struct reg and struct fpreg rather than gregset_t and fpregset_t. Use alphabsd_supply_reg and alphabsd_supply_fpreg. (store_inferior_registers): Use struct reg and struct fpreg rather than gregset_t and fpregset_t. Use alphabsd_fill_reg and alphabsd_fill_fpreg. * alphabsd-tdep.c: New file. * alphabsd-tdep.h: New file. * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. (fetch_elfcore_registers): Use alphabsd_supply_reg and alphabsd_supply_fpreg. * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. * config/alpha/nbsd.mt (TDEPFILES): Likewise.
2002-04-26* alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member.Jason Thorpe2-12/+0
* alpha-tdep.c (alpha_sigcontext_addr): New function. (alpha_find_saved_regs): Use alpha_sigcontext_addr. (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. * alpha-linux-tdep.c: Include frame.h. (alpha_linux_sigcontext_addr): New function. (alpha_linux_init_abi): Set tdep->sigcontext_addr to alpha_linux_sigcontext_addr. * alpha-osf1-tdep.c: Include gdbcore.h. (alpha_osf1_sigcontext_addr): New function. (alpha_osf1_init_abi): Set tdep->sigcontext_addr to alpha_osf1_sigcontext_addr. * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove.
2002-04-26* alpha-tdep.c (alpha_skip_prologue_internal): RemoveJason Thorpe3-11/+0
GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to indicate that the condition it was testing is always true. * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto.
2002-04-26* alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members.Jason Thorpe2-18/+0
* alpha-linux-tdep.c (alpha_linux_init_abi): Initialize tdep->jb_pc and tdep->jb_elt_size. * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. * alpha-nat.c (get_longjmp_target): Remove. (JB_ELEMENT_SIZE): Ditto. (JB_PC): Ditto. * alpha-tdep.c (alpha_get_longjmp_target): New function. (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target to alpha_get_longjmp_target. (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove.
2002-04-25* alpha-tdep.c (alpha_breakpoint_from_pc): New function.Jason Thorpe1-9/+0
(alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to alpha_breakpoint_from_pc. Set gdbarch_function_start_offset to 0. * config/alpha/tm-alpha.h: Remove forward decls of struct type and struct value. (FUNCTION_START_OFFSET): Remove. (BREAKPOINT): Ditto.
2002-04-25* alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function.Jason Thorpe2-11/+1
(alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to alpha_linux_pc_in_sigtramp. * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to alpha_osf1_pc_in_sigtramp. * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to alphafbsd_pc_in_sigtramp. * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to alphanbsd_pc_in_sigtramp. * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove.
2002-04-25* config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o.Jason Thorpe1-1/+1
2002-04-25* Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c andJason Thorpe4-0/+75
alphanbsd-tdep.c. (alphanbsd-nat.o): New dependency list. (alphanbsd-tdep.o): Ditto. * NEWS: Note new native NetBSD/alpha configuration. * alphanbsd-nat.c: New file. * alphanbsd-tdep.c: Ditto. * configure.host (alpha*-*-netbsd*): New host. * configure.tgt (alpha*-*-netbsd*): New target. * config/alpha/nbsd.mh: New file. * config/alpha/nbsd.mt: Ditto. * config/alpha/nm-nbsd.h: Ditto. * config/alpha/tm-nbsd.h: Ditto.
2002-04-25* Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c.Jason Thorpe3-64/+5
(alpha-osf1-tdep.o): New dependency list. * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset and skip_sigtramp_frame members. * alpha-linux-tdep.c: Include gdbcore.h. (alpha_linux_sigtramp_offset): Change return type to LONGEST. (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. * alpha-osf1-tdep.c: New file. * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to alpha-osf1-dep.c. (alpha_frame_past_sigtramp_frame): New function. (alpha_dynamic_sigtramp_offset): Ditto. (alpha_proc_desc_is_dyn_sigtramp): Ditto. (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. (ALPHA_PROC_SIGTRAMP_MAGIC): Define. (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. (find_proc_desc): Use alpha_dynamic_sigtramp_offset. (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code to find_solib_trampoline_target. * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. (SKIP_TRAMPOLINE_CODE): Remove. (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (DYNAMIC_SIGTRAMP_OFFSET): Ditto. (FRAME_PAST_SIGTRAMP_FRAME): Ditto. * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. (PROC_SIGTRAMP_MAGIC): Ditto. (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. (DYNAMIC_SIGTRAMP_OFFSET): Ditto. (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2002-04-21* alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offsetJason Thorpe1-1/+1
to here... * alpha-tdep.c: ...from here. * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o.
2002-04-21* config/alpha/tm-alpha.h: Move alpha_software_single_stepJason Thorpe1-3/+0
prototype from here... * alpha-tdep.h: ...to here.
2002-04-21* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove.Jason Thorpe1-7/+0
2002-04-21* alphafbsd-tdep.c: Update copyright years. IncludeJason Thorpe1-7/+1
alpha-tdep.h. (alphafbsd_use_struct_convention): Make static. (alphafbsd_init_abi): New function. (_initialize_alphafbsd_tdep): New function. * config/alpha/tm-fbsd.h: Update copyright years. (USE_STRUCT_CONVENTION): Remove.
2002-04-21* alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_doubleJason Thorpe1-13/+0
to standard_coerce_float_to_double. * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove.
2002-04-21* alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.Jason Thorpe1-5/+0
* alpha-tdep.c (heuristic_proc_start): Use vm_min_address from gdbarch_tdep rather than a constant. (alpha_gdbarch_init): Initialize tdep->vm_min_address to the default text address for all Alpha Unix ABIs. (alpha_dump_tdep): Report the value of tdep->vm_min_address. * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
2002-04-21* alpha-tdep.h: New file. Includes several Alpha target constantsJason Thorpe1-317/+4
taken from... * config/alpha/tm-alpha.h: ...here. Remove macros that we now let gdbarch deal with. (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd to dependency list. * alpha-nat.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. * alphabsd-nat.c: Likewise. * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted Alpha target register names. Make serveral routines static. (alpha_get_saved_register): New function. (alpha_abi_names): New. (process_note_abi_tag_sections): New function. (get_elfosabi): New function. (alpha_gdbarch_init): New function. (alpha_dump_tdep): New function. (_initialize_alpha_tdep): Register alpha_gdbarch_init.
2002-04-19* alpha-tdep.c (setup_arbitrary_frame): Rename...Jason Thorpe1-2/+3
(alpha_setup_arbitrary_frame): ...to this. * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update for alpha_setup_arbitrary_frame.
2002-02-24s/Linux/.../Andrew Cagney4-16/+22
Fix PR gdb/378.
2002-01-29Eliminate TARGET_BYTE_ORDER.Andrew Cagney1-4/+0
2002-01-20Eliminate IEEE_FLOAT.Andrew Cagney1-3/+0
2002-01-20* alpha-tdep.c (alpha_register_byte): New function.Jason Thorpe1-12/+17
(alpha_register_raw_size): Ditto. (alpha_register_virtual_size): Ditto. (alpha_skip_prologue_internal): Renamed from alpha_skip_prologue. (alpha_skip_prologue): New version that calls alpha_skip_prologue_internal. (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove second argument from alpha_skip_prologue. (REGISTER_BYTE): Use alpha_register_byte. (REGISTER_RAW_SIZE): Use alpha_register_raw_size. (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. (FRAMELESS_FUNCTION_INVOCATION): Use generic_frameless_function_invocation_not. (FRAME_NUM_ARGS): Use frame_num_args_unknown. (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double.
2002-01-20Zap empty or unused xm-*.h files.Andrew Cagney2-1/+0
2002-01-20* alpha-tdep.c (alpha_call_dummy_words): New.Jason Thorpe1-2/+7
* config/alpha/tm-alpha.h (CALL_DUMMY): Remove. (CALL_DUMMY_P): Define. (CALL_DUMMY_WORDS): Define. (SIZEOF_CALL_DUMMY_WORDS): Define.
2002-01-19* alpha-tdep.c (alpha_register_virtual_type): New function.Jason Thorpe1-17/+15
(alpha_init_frame_pc_first): Ditto. (alpha_fix_call_dummy): Ditto. (alpha_store_struct_return): Ditto. (alpha_extract_struct_value_address): Ditto. * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use alpha_register_virtual_type. (STORE_STRUCT_RETURN): Use alpha_store_struct_return. (EXTRACT_STRUCT_VALUE_ADDRESS): Use alpha_extract_struct_value_address. (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. (INIT_FRAME_PC): Use init_frame_pc_noop. (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first.
2002-01-19* alpha-tdep.c (frame_extra_info): New.Jason Thorpe1-22/+12
(alpha_find_saved_regs): Make static. Use frame->extra_info. (alpha_frame_init_saved_regs): New function. (alpha_frame_saved_pc): Use frame->extra_info. (temp_saved_regs): Don't declare as struct frame_saved_regs. (heuristic_proc_desc): Adjust for temp_saved_regs changes. (init_extra_frame_info): Rename to... (alpha_init_extra_frame_info): ...this. Use frame->extra_info. (alpha_print_extra_frame_info): New function. (alpha_frame_locals_address): Ditto. (alpha_frame_args_address): Ditto. (alpha_pop_frame): Use frame->extra_info. * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use alpha_frame_args_address. (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. (alpha_find_saved_regs): Remove prototype. (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. (EXTRA_FRAME_INFO): Remove. (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info.
2002-01-19* alpha-tdep.c (alpha_osf_in_sigtramp): New function.Jason Thorpe1-8/+15
(alpha_cannot_fetch_register): Ditto. (alpha_cannot_store_register): Ditto. (alpha_register_convertible): Ditto. (alpha_use_struct_convention): Ditto. * config/alpha/tm-alpha.h: Update copyright years. (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. (INNER_THAN): Use core_addr_lessthan. (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. (REGISTER_CONVERTIBLE): Use alpha_register_convertible. (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. (FRAME_CHAIN): Remove unnecessary cast.
2002-01-19* alpha-tdep.c (alpha_register_name): New function.Jason Thorpe1-14/+6
* config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. (REGISTER_NAME): Define.
2002-01-18* alpha-tdep.c: Update copyright years.Jason Thorpe1-0/+3
(alpha_next_pc): New function. (alpha_software_single_step): Ditto. * config/alpha/tm-alpha.h: Add prototype for alpha_software_single_step.
2002-01-18Remove XDEPFILES from GDB.Andrew Cagney5-5/+0
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.
2001-12-15LITTLE_ENDIAN -> BFD_ENDIAN_LITTLEAndrew Cagney1-1/+1
2001-12-02Delete HOST_BYTE_ORDER.Andrew Cagney3-34/+0
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-10-06* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.Mark Kettenis1-0/+7
2001-08-27* event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: SomeMark Kettenis1-2/+1
gratuitious whitespace changes. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * top.c: Remove redundant logic to define HAVE_SIGSETMASK. (sigsetmask) Don't define macro. (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from async_stop_sig from event-top.c. [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined. * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical order. Add sigsetmask. (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in alphabetical order. * config/xm-aix4.h, config/alpha/xm-alphalinux.h, config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h (HAVE_SIGSETMASK): Remove. * aclocal.m4, config.in, configure
2001-07-11* config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):Mark Kettenis1-11/+2
Remove unused macro's.
2001-05-26 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c andNicholas Duffek3-4/+6
solib-osf.o. * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o with solib-osf.o and solib.o. * config/alpha/alpha-osf2.mh: Likewise. * config/alpha/alpha-osf3.mh: Likewise. * solib-osf.c: New file, renamed and largely rewritten from osfsolib.c.
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-2/+2
2001-03-20Update Linux/Alpha port to use new Linux threads support.Kevin Buettner2-1/+17
2001-03-14Include regcache.hAndrew Cagney1-0/+1
2001-03-10Cleanup solib-svr4.c by moving legacy code out to its own file.Kevin Buettner2-2/+3
2001-03-06Update/correct copyright notices.Kevin Buettner10-10/+12
2001-01-25* config/alpha/tm-fbsd.h: Update copyright.Mark Kettenis2-2/+8
(USE_STRUCT_CONVENTION): Define in terms of alphabsd_use_struct_convention. * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c. * alphafbsd-tdep.c: New file.