aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-06-06 * hppa-hpux-tdep.c (hppa_hpux_init_abi): New function, settingJoel Brobecker4-8/+26
pc_in_sigtramp multiarch method. (hppa_hpux_som_init_abi): Use it. (hppa_hpux_elf_init_abi): Likewise. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Remove, now that this macro has been multiarched. * config/pa/tm-hppa64.h (PC_IN_SIGTRAMP): Temporarily set this macro here, as hppa64 isn't multiarched yet.
2003-06-06*** empty log message ***gdbadmin1-1/+1
2003-06-06daily updateAlan Modra1-1/+1
2003-06-05 * config/pa/tm-hppa.h: Delete some unused macros. Move someJoel Brobecker1-64/+0
macro definitions from here... * hppa-tdep.c: ...to there.
2003-06-052003-06-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-15/+24
* Makefile.in (value_h): Add $(frame_h). * value.h: Include "frame.h". (struct value): Replace "frame_addr" with "frame_id". (VALUE_FRAME_ID): Replace VALUE_FRAME. * values.c (allocate_value): Use VALUE_FRAME_ID. (value_copy): Use VALUE_FRAME_ID. * findvar.c (value_from_register): Use VALUE_FRAME_ID. * valops.c (value_assign): Update. Use frame_find_by_id.
2003-06-05an obvious fixDavid Lecomber1-0/+1
2003-06-052003-06-05 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2-1/+6
* x86-64-tdep.c (x86_64_push_arguments): Don't clear offset in each pass.
2003-06-052003-06-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-42/+105
* config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops. (build_bytes): Ditto. 2003-06-05 Richard Sandiford <rsandifo@redhat.com> * config/tc-h8sx.c (DMODE): Remove. (colonmod24): Don't choose a default if the operand is a 16-bit constant integer. (fix_operand_size): New function. (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn). Adjust @(d:2,ERn) operands before choosing the specific opcodes.
2003-06-052003-06-05 Michael Snyder <msnyder@redhat.com>Michael Snyder27-0/+36364
* gas/h8300/t01_mov.s: New file, tests mov instructions. * gas/h8300/t02_mova.s: New file, tests mova instructions. * gas/h8300/t03_add.s: New file, tests add instructions. * gas/h8300/t04_sub.s: New file, tests sub instructions. * gas/h8300/t05_cmp.s: New file, tests cmp instructions. * gas/h8300/t06_ari2.s: New file, tests arithmetic instructions. * gas/h8300/t07_ari3.s: New file, tests arithmetic instructions. * gas/h8300/t08_or.s: New file, tests or instructions. * gas/h8300/t09_xor.s: New file, tests xor instructions. * gas/h8300/t10_and.s: New file, tests and instructions. * gas/h8300/t11_logs.s: New file, tests logical instructions. * gas/h8300/t12_bit.s: New file, tests bit instructions. * gas/h8300/t13_otr.s.s: New file, tests misc. instructions. * gas/h8300/t01_mov.exp: New file. * gas/h8300/t02_mova.exp: New file. * gas/h8300/t03_add.exp: New file. * gas/h8300/t04_sub.exp: New file. * gas/h8300/t05_cmp.exp: New file. * gas/h8300/t06_ari2.exp: New file. * gas/h8300/t07_ari3.exp: New file. * gas/h8300/t08_or.exp: New file. * gas/h8300/t09_xor.exp: New file. * gas/h8300/t10_and.exp: New file. * gas/h8300/t11_logs.exp: New file. * gas/h8300/t12_bit.exp: New file. * gas/h8300/t13_otr.exp: New file.
2003-06-052003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-24/+48
* h8sx.h (enum h8_model): Add AV_H8S to distinguish from H8H. (ldc): Split ccr ops from exr ops (which are only available on H8S or H8SX). (stc): Ditto. (andc, orc, xorc): Ditto. (ldmac, stmac, clrmac, mac): Change access to AV_H8S.
2003-06-052003-06-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-39/+54
* thread-db.c (check_event): For create/death event breakpoints, loop through all messages to ensure that we read the message corresponding to the breakpoint we are at.
2003-06-05merge from gccDJ Delorie2-1/+6
2003-06-05Add code to handle even-numbered only register operandsNick Clifton12-365/+695
2003-06-05 * linux-low.c (linux_wait_for_event): Correct comment typos.Daniel Jacobowitz4-8/+36
(linux_resume_one_process): Call check_removed_breakpoint. (linux_send_signal): New function. (linux_target_ops): Add linux_send_signal. * remote-utils.c (putpkt, input_interrupt): Use send_signal instead of kill. * target.h (struct target_ops): Add send_signal.
2003-06-05 * simple.c (bfd_simple_get_relocated_section_contents): CallDaniel Jacobowitz2-1/+6
_bfd_generic_link_add_symbols instead of bfd_link_add_symbols.
2003-06-052003-06-05 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-40/+185
* dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg) (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New. (cfi_add_CFA_offset, cfi_add_CFA_def_cfa) (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register) (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*(). (cfi_add_CFA_restore, cfi_add_CFA_undefined) (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New. (cfi_pseudo_table): New directives .cfi_return_column, .cfi_restore, .cfi_undefined, .cfi_same_value, .cfi_remember_state, .cfi_restore_state, .cfi_nop. (dot_cfi, output_cfi_insn): Handle new directives. * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined) (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
2003-06-05 * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.Richard Henderson2-1/+3
2003-06-05 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.Richard Henderson2-1/+5
2003-06-05 * config/tc-alpha.c (s_alpha_usepv): New.Richard Henderson13-0/+185
(md_pseudo_table): Add it. (alpha_cfi_frame_initial_instructions): New. * config/tc-alpha.h (TARGET_USE_CFIPOP): New. (tc_cfi_frame_initial_instructions): New. * doc/c-alpha.texi: Document .usepv. * gas/alpha/elf-usepv-1.[sd]: New. * gas/alpha/elf-usepv-2.[sd]: New. * gas/alpha/alpha.exp: Run them. * gas/cfi/cfi-alpha-3.[sd]: New. * gas/cfi/cfi.exp: Run it.
2003-06-052003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+6
* h8300-tdep.c (h8300_gdbarch_init): Add h8300hn, h8300sn.
2003-06-052003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-12/+14
* compile.c (sim_info): Fix typo in output. * h8300/compile.c (set_h8300h): Replace 'flag' arguments with a bfd_machine argument, and decode it inline. Check for bfd_mach_h8300hn and bfd_mach_h8300sn.
2003-06-052003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder3-27/+20
* common/run.c (main): Remove SIM_H8300 ifdef. (usage): Ditto. * common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX. (standard_options): Add '-x' for h8/300sx. (standard_option_handler): Add case for SIM_H8300SX.
2003-06-05*** empty log message ***gdbadmin1-1/+1
2003-06-04* dwarf2-frame.c (struct comp_unit): Add member `dbase'.Mark Kettenis2-0/+24
(read_encoded_value): Handle DW_EH_PE_datarel encoding. (dwarf2_build_frame_info): Set base for DW_EH_PE_datarel encodings when handling .eh_frame sections.
2003-06-04 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Use the genericJoel Brobecker3-88/+8
prepare_to_proceed procedure instead of the hppa-specific one. * hppa-tdep.c (hppa_prepare_to_proceed): Remove, no longer used.
2003-06-042003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston7-205/+519
* acconfig.h: Add HAVE_TKILL_SYSCALL definition check. * config.in: Regenerated. * configure.in: Add test for syscall function and check for __NR_tkill macro in <syscall.h> to set HAVE_TKILL_SYSCALL. * configure: Regenerated. * lin-lwp.c [HAVE_TKILL_SYSCALL]: Include <unistd.h> and <sys/syscall.h>. (kill_lwp): New function that uses tkill syscall or uses kill, depending on whether threading model is nptl or not. All callers of kill() changed to use kill_lwp(). (lin_lwp_wait): Make special check when WIFEXITED occurs to see if all threads have already exited in the nptl model. (stop_and_resume_callback): New callback function used by the lin_lwp_wait thread exit handling code. (stop_wait_callback): Check for threads already having exited and delete such threads fromt the lwp list when discovered. (stop_callback): Don't assert retcode of kill call. Roland McGrath <roland@redhat.com> * i386-linux-nat.c (ps_get_thread_area): New function needed by nptl libthread_db.
2003-06-042003-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+8
* compile.c (sim_info): Fix typo in output.
2003-06-04 * as.c (show_usage): Document --execstack and --noexecstack.Jakub Jelinek3-1/+52
(parse_args): Add --execstack and --noexecstack. (main): Create .note.GNU-stack section if --execstack or --noexecstack was given on comand line, set its SHF_EXECINSTR bit. * as.h (flag_execstack, flag_noexecstack): New.
2003-06-04 * alpha-tdep.c (alpha_next_pc): Use alpha_read_insn.Richard Henderson3-5/+12
(alpha_sigtramp_frame_this_id): Use get_frame_memory. (alpha_sigtramp_frame_prev_register): Likewise. (alpha_heuristic_frame_prev_register): Likewise. * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
2003-06-04 * alpha-mdebug-tdep.c (alpha_mdebug_after_prologue): UseRichard Henderson2-4/+11
alpha-specific register id names. (alpha_mdebug_frame_unwind_cache): Likewise. (alpha_mdebug_frame_prev_register): Likewise.
2003-06-04Moved the ticoff0/1 swaptables and coff0/1 bad format hooks to coffcode.hSvein Seldal4-226/+129
2003-06-04Altered the CREATE_xxx_COFF_TARGET_VEC macro arguments -- changelog dropped outSvein Seldal1-0/+22
2003-06-04Altered the CREATE_xxx_COFF_TARGET_VEC macro argumentsSvein Seldal17-282/+82
2003-06-04Fixed initialization bugSvein Seldal2-2/+7
2003-06-042003-06-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-64/+100
* config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE) (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE) (OPTION_MISC_BASE): New defines. (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL) (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64) (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100) (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX) (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2) (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D) (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64) (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS) (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010) (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16) (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH) (OPTION_TRAP): Redefine in terms of new defines. (md_longopts): Reorder entries.
2003-06-04 * alpha-tdep.c (alpha_dwarf2_init_abi): New.Richard Henderson9-19/+49
* alpha-tdep.h (alpha_dwarf2_init_abi): Declare it. * alpha-linux-tdep.c (alpha_linux_init_abi): Use it. * alphafbsd-tdep.c (alphafbsd_init_abi): Register dwarf2 and mdebug unwind routines. * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. * config/alpha/fbsd.mt (TDEPFILES): Add alpha-mdebug-tdep.o. * config/alpha/nbsd.mt (TDEPFILES): Likewise. * alpha-linux-tdep.c: Remove unnecessary includes. * Makefile.in (alpha-linux-tdep.o): Update.
2003-06-04 * alphabsd-tdep.c (alphabsd_supply_fpreg): Fix typo last change.Richard Henderson1-2/+2
(alphabsd_fill_fpreg): Likewise.
2003-06-04 * alphanbsd-tdep.c (alphanbsd_sigcontext_addr): ReplaceJoel Brobecker2-1/+7
references to struct frame_info fields by calls to the equivalent accessors. Necessary now that frame_info is opaque.
2003-06-04 * alphanbsd-tdep.c (alphanbsd_skip_sigtramp_frame): Delete.Joel Brobecker2-15/+6
(alphanbsd_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists.
2003-06-04 * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-mdebug-tdep.o.Joel Brobecker3-1/+9
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Enable the mdebug module.
2003-06-04 * alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): ReplaceJoel Brobecker2-2/+12
references to struct frame_info fields by calls to the equivalent accessors. Necessary now that frame_info is opaque.
2003-06-04 * alpha-osf1-tdep.c (alpha_osf1_skip_sigtramp_frame): Delete.Joel Brobecker2-14/+6
(alpha_osf1_init_abi): Do not set skip_sigtramp_frame in tdep structure, field no longer exists.
2003-06-04* remote.c (init_remote_state): Compute sizeof_g_packet byTheodore A. Roth2-4/+14
accumulation of the size of all registers instead of blindly using DEPRECATED_REGISTER_BYTES.
2003-06-042003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder3-12/+51
* config/h8300/tm-h8300.h (h8300sxmode): Declare. * h8300-tdep.c (h8300_gdbarch_init): Set machine mode for h8300sx.
2003-06-04*** empty log message ***gdbadmin1-1/+1
2003-06-03 * alpha-osf1-tdep.c (objfiles.h): #include, needed for symfile_objfile.Joel Brobecker3-1/+7
* Makefile.in (alpha-osf1-tdep.o): Update dependencies.
2003-06-03binutils/Jakub Jelinek13-0/+118
* readelf.c (get_segment_type): Handle PT_GNU_STACK. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK. (bfd_section_from_phdr): Likewise. (map_sections_to_segments): Create PT_GNU_STACK segment header. (get_program_header_size): Count with PT_GNU_STACK. * elf-bfd.h (struct elf_obj_tdata): Add stack_flags. * elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags. include/ * bfdlink.h (struct bfd_link_info): Add execstack and noexecstack. * elf/common.h (PT_GNU_STACK): Define. ld/ * ldgram.y (phdr_type): Grok PT_GNU_STACK. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z execstack and -z noexecstack. (gld${EMULATION_NAME}_list_options): Likewise. * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder7-2/+135
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * Makefile.am: Add new emulations for h8300sx. * Makefile.in: Regenerate. * configure.tgt: Add new emulations. * emulparams/h8300sx.sh: New emulation. * emulparams/h8300sxelf.sh: Ditto. * scripttempl/h8300sx.sc: Ditto.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder4-1022/+3400
* h8300/compile.c: Add h8300sx insns and addressing modes. * h8300/sim-main.h: Replaces h8300/inst.h. * h8300/Makefile.in: Tweak to bring in some sim/common stuff.
2003-06-032003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder2-190/+538
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * disassemble.c (disassembler): Add support for h8300sx. * h8300-dis.c: Ditto.