Andrew Cagney
1c8831c5ad
2004-10-29 Andrew Cagney <cagney@gnu.org>
...
* 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-30 00:10:05 +00:00
Alan Modra
44b4bcc2c9
daily update
2004-10-30 00:00:06 +00:00
gdbadmin
9a54dff734
*** empty log message ***
2004-10-30 00:00:02 +00:00
Joel Brobecker
88f9d34f0c
* gdb.threads/bp_in_thread.c: New file, copied from
...
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-29 21:35:20 +00:00
Mark Kettenis
760caeb8c9
Really commit this file.
2004-10-29 20:49:14 +00:00
Andrew Cagney
b04f3ab417
2004-10-29 Andrew Cagney <cagney@gnu.org>
...
* 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-29 20:23:17 +00:00
Andrew Cagney
00b25ff323
2004-10-27 Andrew Cagney <cagney@gnu.org>
...
* 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 14:00:58 +00:00
gdbadmin
dd891d7edb
*** empty log message ***
2004-10-29 00:00:32 +00:00
Alan Modra
a6b63b08f5
daily update
2004-10-29 00:00:06 +00:00
Aaron W. LaFramboise
4744407337
PR target/18151
...
* configure.in (case ${target}): Do not build fixincludes for avr.
* configure: Regenerated.
2004-10-28 19:43:35 +00:00
H.J. Lu
e4c8d1e49f
2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
...
* binutils-all/dlltool.exp: Set XFAIL if $target_xfail is yes.
2004-10-28 14:58:26 +00:00
H.J. Lu
bf71845826
2004-10-28 H.J. Lu <hongjiu.lu@intel.com>
...
* 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 14:55:41 +00:00
Kaz Kojima
044ad7e3d7
* elf32-sh.c (tpoff): Take alignment into account.
2004-10-28 12:00:17 +00:00
Mark Kettenis
c18c06be5e
* proc-events.c: Fix several coding-style issues. Consistently
...
use #ifdef instead of #if defined().
(proc_prettyfprint_fault, proc_prettyfprint_faultset): Use
ARRAY_SIZE.
(_initialize_proc_events): New prototype.
2004-10-28 11:45:43 +00:00
Mark Kettenis
7a9525427b
* proc-why.c: Fix several coding-style issues.
...
(proc_prettyfprint_why): Use ARRAY_SIZE.
2004-10-28 11:04:07 +00:00
Tomer Levi
f39c96a9c0
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
...
* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.
2004-10-28 10:31:14 +00:00
Tomer Levi
343cbeea1e
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* crx-opc.c (REV_COP_INST): New macro, reverse operand order of COP_INST macro.
2004-10-28 10:29:56 +00:00
Tomer Levi
49c4a1800a
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
...
* gas/crx/cop_insn.d: Regenerate (after a bug fix in Assembler).
2004-10-28 10:19:30 +00:00
Tomer Levi
3ad3f5ad1c
2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
...
* 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-28 10:14:46 +00:00
Nick Clifton
0d48eab68d
Fix spelling typo
2004-10-28 09:56:14 +00:00
Nick Clifton
d5cb4bb8aa
iq2000_elf_relocate_section): Do nothing when perfoming a relocatable link.
...
(iq2000_elf_object_p): Do not set elf_bad_symtab. This is only for MIPS ports
under Irix.
2004-10-28 09:53:44 +00:00
Alan Modra
e5be0a72e1
daily update
2004-10-28 00:00:10 +00:00
gdbadmin
014457d27f
*** empty log message ***
2004-10-28 00:00:02 +00:00
Paul Brook
5b5bb74101
2004-10-27 Richard Earnshaw <rearnsha@arm.com>
...
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 20:48:22 +00:00
Jim Blandy
fcad0fa40f
* remote.c (fetch_register_using_p): Construct 'p' packet in a
...
manner independent of the host byte order.
2004-10-27 20:03:50 +00:00
Mark Kettenis
c163184fa2
* mips-tdep.c (id_delayed): Remove prototype.
2004-10-27 19:50:24 +00:00
Andrew Cagney
1ca6491a29
2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
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-27 17:19:02 +00:00
Nick Clifton
7a5df8d098
emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, parameter to
...
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-27 15:53:21 +00:00
Tomer Levi
902143eff6
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* 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 10:34:24 +00:00
Tomer Levi
3da4500a06
* gas/crx/cop_insn.s: Test new Co-Processor instruction 'cpi'.
2004-10-27 10:32:51 +00:00
Tomer Levi
0be469faab
* gas/crx/list_insn.s: Add hi/lo/u<N> registers tests, fix test bugs.
2004-10-27 10:32:30 +00:00
Tomer Levi
c815a6163a
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* 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 10:31:39 +00:00
Tomer Levi
9bb1ebc211
* 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 10:28:22 +00:00
Tomer Levi
812337be05
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* 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 10:27:00 +00:00
Tomer Levi
ec20305230
* 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 10:24:39 +00:00
Tomer Levi
a58a37627f
* crx-dis.c (enum REG_ARG_TYPE): New, replacing COP_ARG_TYPE.
...
(getregliststring): Support HI/LO and user registers.
2004-10-27 10:24:01 +00:00
Tomer Levi
9268a8d21a
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
...
* 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 10:22:56 +00:00
Tomer Levi
5531e44c20
(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 10:17:39 +00:00
Nick Clifton
4030fa5ade
Add an index operand to some of the iq2000 co-processor instructions
2004-10-27 09:30:09 +00:00
Mark Mitchell
6f372e19e7
* emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
...
__exidx_{start,end} when not relocating.
2004-10-27 06:57:43 +00:00
H.J. Lu
97ecf3226d
2004-10-26 H.J. Lu <hongjiu.lu@intel.com>
...
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 00:46:05 +00:00
gdbadmin
f9dd442b25
*** empty log message ***
2004-10-27 00:00:33 +00:00
Alan Modra
6cb7e1ce46
daily update
2004-10-27 00:00:06 +00:00
Paul Brook
0c6616e1ae
Missed from previous commit.
...
ld/testsuite/
* ld-elfvers/vers29.c: New file.
* ld-elfvers/vers29.dsym: New file.
* ld-elfvers/vers29.ver: New file.
2004-10-26 21:00:23 +00:00
Aaron W. LaFramboise
caeba88f70
* configure.in (case ${target}): Do not build fixincludes
...
on platforms where it is not used.
* configure: Regenerated.
----------------------------------------------------------------------
2004-10-26 20:39:00 +00:00
Mark Kettenis
9c46b6f006
* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,
...
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 19:40:39 +00:00
Mark Mitchell
ba916c8af2
* Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
...
* 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-26 18:41:52 +00:00
Nick Clifton
1ec5cd3721
readelf.c (get_note_type): Handle notes not in core files.
...
(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.
2004-10-26 16:05:42 +00:00
Andrew Cagney
e7d6a6d283
2004-10-26 Andrew Cagney <cagney@gnu.org>
...
* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE.
* mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub.
(mips_gdbarch_init): Update.
(mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
2004-10-26 14:44:00 +00:00
Andrew Cagney
c5115f39aa
2004-10-26 Andrew Cagney <cagney@gnu.org>
...
* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete.
* config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef
IN_SOLIB_RETURN_TRAMPOLINE.
* mips-tdep.c (mips_dump_tdep): Do not print
IN_SOLIB_RETURN_TRAMPOLINE.
(mips_in_solib_return_trampoline): Rename mips_in_return_stub.
(mips_gdbarch_init): Update.
2004-10-26 14:24:38 +00:00