aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-10-30* mipsread.c: Cleanup coding style.Mark Kettenis2-82/+104
(mipscoff_new_init, mipscoff_symfile_init, mipscoff_symfile_read) (mipscoff_symfile_finish): Remove prototypes. * mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction) (mips_mdebug_frame_cache, mips16_scan_prologue) (mips32_scan_prologue, mips_stub_frame_cache) (heuristic_proc_start, heuristic_proc_desc) (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_n32n64_return_value, mips_o32_push_dummy_call) (mips_o32_return_value, mips_o64_push_dummy_call) (mips_step_skips_delay, mips_skip_trampoline_code) (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM, MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN. (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM, T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM. * mips-linux-tdep.c (mips_linux_o32_sigframe_init) (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of A0_REGNUM. * mipsnbsd-nat.c: Include "mips-tdep.h". (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * Makefile.in (mipsnbsd-nat.o): Update dependencies.
2004-10-30* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)Mark Kettenis5-77/+68
(mips_mdebug_frame_cache, mips16_scan_prologue) (mips32_scan_prologue, mips_stub_frame_cache) (heuristic_proc_start, heuristic_proc_desc) (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_n32n64_return_value, mips_o32_push_dummy_call) (mips_o32_return_value, mips_o64_push_dummy_call) (mips_step_skips_delay, mips_skip_trampoline_code) (mips_gdbarch_init): Use MIPS_A0_REGNUM instead of A0_REGNUM, MIPS_RA_REGNUM instead of RA_REGNUM, MIPS_T9_REGNUM instead of T9_REGNUM, MIPS_V0_REGNUM instead of V0_REGNUM, MIPS_ZERO_REGNUM instead of ZERO_REGNUM, MIPS32_SIZE_INSN instead of MIPS_INSTLEN and MIPS16_INSN_SIZE instead of MIPS16_INSTLEN. (mips_dump_tdep): Don't print A0_REGNUM, RA_REGNUM, T9_REGNUM, V0_REGNUM, ZERO_REGNUM, MIPS_INSTLEN and MIPS16_INSTLEN. Use MIPS_A0_REGNUM instead of A0_REGNUM. * mips-linux-tdep.c (mips_linux_o32_sigframe_init) (mips_linux_n32n64_sigframe_init): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) (mipsnbsd_cannot_store_register): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. (mipsnbsd_get_longjmp_target): Use MIPS_A0_REGNUM instead of A0_REGNUM. * mipsnbsd-nat.c: Include "mips-tdep.h". (getregs_supplies): Use MIPS_ZERO_REGNUM instead of ZERO_REGNUM. * Makefile.in (mipsnbsd-nat.o): Update dependencies.
2004-10-302004-10-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-112/+135
* stack.c (parse_frame_specification_1): New function based on parse_frame_specification. Add message and selected_frame_p paramters. Truely always return non-NULL. (parse_frame_specification): Call parse_frame_specification_1. (frame_info): Update. Eliminate target_has_stack check. (select_frame_command): Update.
2004-10-30daily updateAlan Modra1-1/+1
2004-10-30*** empty log message ***gdbadmin1-1/+1
2004-10-29 * gdb.threads/bp_in_thread.c: New file, copied fromJoel Brobecker3-1/+84
pthread_cond_wait.c. * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source file, rather than reusing the .c file from another testcase.
2004-10-29Really commit this file.Mark Kettenis1-0/+5
2004-10-292004-10-29 Andrew Cagney <cagney@gnu.org>Andrew Cagney21-66/+70
* frame.h (get_selected_frame): Add message parameter. * frame.c (get_selected_frame): Add and use message parameter. * stack.c (current_frame_command, return_command, locals_info) (catch_info, args_info, up_silently_base, down_silently_base): Use get_selected_frame with an explicit message. * thread.c, stack.c, sh-tdep.c, sh64-tdep.c: Update. * remote-rdp.c, remote-mips.c, remote-e7000.c: Update. * ocd.c, mi/mi-main.c, mi/mi-cmd-stack.c: Update. * infrun.c, inflow.c, infcmd.c, frame.c: Update. * findvar.c, eval.c, corelow.c, bsd-kvm.c: Update. * breakpoint.c: Update.
2004-10-292004-10-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-25/+86
* trad-frame.c (trad_frame_get_prev_register): Use frame_unwind_register instead of frame_register_unwind, do not recurse the register's location. * xstormy16-tdep.c (xstormy16_frame_prev_register): * sparc-tdep.c (sparc32_frame_prev_register): Ditto. * sparc64-tdep.c (sparc64_frame_prev_register): Ditto. * sh-tdep.c (sh_frame_prev_register): Ditto. * m68k-tdep.c (m68k_frame_prev_register): Ditto. * i386-tdep.c (i386_frame_prev_register): Ditto. * dwarf2-frame.c (dwarf2_frame_prev_register): Ditto. * amd64-tdep.c (amd64_frame_prev_register): Ditto.
2004-10-29*** empty log message ***gdbadmin1-1/+1
2004-10-29daily updateAlan Modra1-1/+1
2004-10-28 PR target/18151Aaron W. LaFramboise3-2/+8
* configure.in (case ${target}): Do not build fixincludes for avr. * configure: Regenerated.
2004-10-282004-10-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+8
* binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.
2004-10-282004-10-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak undefined symbols for R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB and R_IA64_SECREL64LSB.
2004-10-28 * elf32-sh.c (tpoff): Take alignment into account.Kaz Kojima2-1/+7
2004-10-28* proc-events.c: Fix several coding-style issues. ConsistentlyMark Kettenis2-530/+526
use #ifdef instead of #if defined(). (proc_prettyfprint_fault, proc_prettyfprint_faultset): Use ARRAY_SIZE. (_initialize_proc_events): New prototype.
2004-10-28* proc-why.c: Fix several coding-style issues.Mark Kettenis2-46/+52
(proc_prettyfprint_why): Use ARRAY_SIZE.
2004-10-282004-10-28 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+5
* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.
2004-10-282004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-9/+13
* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.
2004-10-282004-10-28 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi2-8/+12
* gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler).
2004-10-282004-10-28 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi2-0/+6
* config/tc-crx.c (getreg_image): Bug fix, a return value was mistakenly ommited from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
2004-10-28Fix spelling typoNick Clifton1-1/+1
2004-10-28iq2000_elf_relocate_section): Do nothing when perfoming a relocatable link.Nick Clifton2-6/+11
(iq2000_elf_object_p): Do not set elf_bad_symtab. This is only for MIPS ports under Irix.
2004-10-28daily updateAlan Modra1-1/+1
2004-10-28*** empty log message ***gdbadmin1-1/+1
2004-10-272004-10-27 Richard Earnshaw <rearnsha@arm.com>Paul Brook5-30/+147
bfd/ * elf32-arm.h (bfd_elf32_arm_process_before_allocation): Handle R_ARM_CALL and R_ARM_JUMP24 as aliases of R_ARM_PC24. (elf32_arm_final_link_relocate): Ditto. (arm_add_to_rel, elf32_arm_relocate_section): Ditto. (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto (elf32_arm_adjust_dynamic_symbol): Ditto. * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_CALL and R_ARM_JUMP32. Move R_ARM_R{REL32,ABS32,PC24,BASE}... (elf32_arm_r_howto): ... To here. (elf32_arm_howto_from_type): Use elf32_arm_r_howto. include/ * elf/arm.h: Add R_ARM_CALL and R_ARM_JUMP32.
2004-10-27* remote.c (fetch_register_using_p): Construct 'p' packet in aJim Blandy2-3/+9
manner independent of the host byte order.
2004-10-27* mips-tdep.c (id_delayed): Remove prototype.Mark Kettenis2-2/+4
2004-10-272004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Andrew Cagney2-42/+7
Committed by Andrew Cagney. * traps-linux.c: Don't include linux/module.h. (m32r_trap): Remove dummy systemcall's entry of __NR_ustat and __NR_get_kernel_syms.
2004-10-27emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter toNick Clifton5-361/+53
invocation of lang_section_start. emultempl/aix.em (_handle_option): Likewise. Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. Makefile.in: Regenerate.
2004-10-272004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+7
* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'. * gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs. * gas/crx/cop_insn.d: Regenerate. * gas/crx/list_insn.d: Likewise.
2004-10-27* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.Tomer Levi2-43/+53
2004-10-27* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.Tomer Levi2-20/+24
2004-10-272004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+17
* config/tc-crx.c: Remove global variable 'post_inc_mode'. (get_flags): New function. (get_number_of_bits): Edit comments, update numeric values to supported sizes. (process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]). (set_cons_rparams): Support argument type 'arg_rbase'. (get_operandtype): Bug fix in 'rbase' operand type parsing. (handle_LoadStor): Bug fix, first handle post-increment mode. (getreg_image): Remove redundant code, update according to latest CRX spec. (print_constant): Bug fix relate to 3-word instructions. (assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic). Add various error checking. (preprocess_reglist): Support HI/LO and user registers.
2004-10-27* config/tc-crx.c: Remove global variable 'post_inc_mode'.Tomer Levi1-265/+270
(get_flags): New function. (get_number_of_bits): Edit comments, update numeric values to supported sizes. (process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]). (set_cons_rparams): Support argument type 'arg_rbase'. (get_operandtype): Bug fix in 'rbase' operand type parsing. (handle_LoadStor): Bug fix, first handle post-increment mode. (getreg_image): Remove redundant code, update according to latest CRX spec. (print_constant): Bug fix relate to 3-word instructions. (assemble_insn): Bug fix, when matching instructions, verify also instruction type (not only mnemonic). Add various error checking. (preprocess_reglist): Support HI/LO and user registers.
2004-10-272004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+12
* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE. (getregliststring): Support HI/LO and user registers. * crx-opc.c (crx_instruction): Update data structure according to the rearrangement done in CRX opcode header file. (crx_regtab): Likewise. (crx_optab): Likewise. (crx_instruction): Reorder load/stor instructions, remove unsupported formats. support new Co-Processor instruction 'cpi'.
2004-10-27* crx-opc.c (crx_instruction): Update data structure according to the ↵Tomer Levi1-232/+237
rearrangement done in CRX opcode header file. (crx_regtab): Likewise. (crx_optab): Likewise. (crx_instruction): Reorder load/stor instructions, remove unsupported formats. support new Co-Processor instruction 'cpi'.
2004-10-27* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.Tomer Levi1-41/+58
(getregliststring): Support HI/LO and user registers.
2004-10-272004-10-27 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+14
* opcode/crx.h (enum reg): Rearrange registers, remove 'ccfg' and 'pc'. (enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE. (enum operand_type): Rearrange operands, edit comments. replace us<N> with ui<N> for unsigned immediate. replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively). replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index. (instruction type): Add NO_TYPE_INS. (instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR. (operand_entry): New field - 'flags'. (operand flags): New.
2004-10-27(enum reg): Rearrange registers, remove 'ccfg' and 'pc'.Tomer Levi1-50/+77
(enum reg_type): Remove CRX_PC_REGTYPE, CRX_MTPR_REGTYPE. (enum operand_type): Rearrange operands, edit comments. replace us<N> with ui<N> for unsigned immediate. replace d<N> with disps<N>/dispu<N>/dispe<N> for signed/unsigned/escaped displacements (respectively). replace rbase_ridx_scl2_dispu<N> with rindex_disps<N> for register index. (instruction type): Add NO_TYPE_INS. (instruction flags): Add USER_REG, CST4MAP, NO_SP, NO_RPTR. (operand_entry): New field - 'flags'. (operand flags): New.
2004-10-27Add an index operand to some of the iq2000 co-processor instructionsNick Clifton11-149/+155
2004-10-27 * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emitMark Mitchell2-2/+7
__exidx_{start,end} when not relocating.
2004-10-272004-10-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-5/+10
PR 475 * elfxx-ia64.c (elfNN_ia64_relocate_section): Correct R_IA64_SECREL32MSB, R_IA64_SECREL32LSB, R_IA64_SECREL64MSB and R_IA64_SECREL64LSB.
2004-10-27*** empty log message ***gdbadmin1-1/+1
2004-10-27daily updateAlan Modra1-1/+1
2004-10-26Missed from previous commit.Paul Brook3-0/+9
ld/testsuite/ * ld-elfvers/vers29.c: New file. * ld-elfvers/vers29.dsym: New file. * ld-elfvers/vers29.ver: New file.
2004-10-26 * configure.in (case ${target}): Do not build fixincludesAaron W. LaFramboise3-76/+134
on platforms where it is not used. * configure: Regenerated. ----------------------------------------------------------------------
2004-10-26* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,Mark Kettenis2-1/+22
MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM to enum with register numbers. (enum mips_insn_size): New enum.
2004-10-26 * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.Mark Mitchell14-151/+236
* ldexp.h (segment_type): New type. (segments): New variable. * ldexp.c (segments): New variable. (exp_print_token): Handle SEGMENT_START. (fold_binary): Likewise. * ldgram.y (SEGMENT_START): Declare it as a token. (exp): Handle SEGMENT_START. * ldlang.h (lang_address_statement_type): Add segment field. (lang_section_start): Change prototype. * ldlang.c (map_input_to_output_sections): Do not process section assignments if a corresponding SEGMENT_START has already been seen. (lang_section_start): Add segment parameter. * ldlex.l (SEGMENT_START): Add it. * lexsup.c (seg_segment_start): New function. (parse_args): Use it for -Tbss, -Tdata, and -Ttext. * ld.texinfo (SEGMENT_START): Document it. * emulparams/armsymbian.sh (EMBEDDED): Set it. * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment base addresses. Do not map relocations. * NEWS: Mention SEGMENT_START.
2004-10-26readelf.c (get_note_type): Handle notes not in core files.Nick Clifton4-148/+126
(process_note_sections): New function. (process_corefile_contents): Rename to ... (process_notes): ... this. (process_object): Call process_notes, not process_corefile_contents. doc/binutils.texi: Update readelf -n documentation.