Jan Kratochvil
287ccc17ed
gdb/
...
* symfile.c (separate_debug_file_exists): When the CRCs mismatch
print a warning.
(find_separate_debug_file): Pass in the objfile's name.
gdb/testsuite/
* gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
* gdb.base/sepdebug2.c: New file.
2009-11-02 14:55:05 +00:00
Jan Kratochvil
abd0a5fa91
gdb/
...
Remove INVALID_ENTRY_POINT.
* frame.c (inside_entry_func): New variable entry_point. Return 0 if
the entry point is not known.
* solib-irix.c (enable_break): Likewise.
* objfiles.c (init_entry_point_info): Stop using INVALID_ENTRY_POINT.
Initialize EI.ENTRY_POINT_P.
(entry_point_address): Rename to ...
(entry_point_address_query): ... a new function. Use EI.ENTRY_POINT_P.
(entry_point_address): New function.
(objfile_relocate): Use EI.ENTRY_POINT_P.
* objfiles.h (struct entry_info): Simplify entry_point comment. New
field entry_point_p.
(INVALID_ENTRY_POINT): Remove.
(entry_point_address_query): New prototype.
* solib-frv.c (enable_break): Check for NULL SYMFILE_OBJFILE and its
EI.ENTRY_POINT_P. Return 0 if ".interp" is not found.
2009-11-02 14:50:29 +00:00
Paul Brook
62f3b8c867
2009-11-02 Paul Brook <paul@codesourcery.com>
...
ld/testsuite/
* ld-arm/arm-elf.exp: Add new attr-merge-vfp tests.
* ld-arm/attr-merge-vfp-1.d: New test.
* ld-arm/attr-merge-vfp-1r.d: New test.
* ld-arm/attr-merge-vfp-2.d: New test.
* ld-arm/attr-merge-vfp-2r.d: New test.
* ld-arm/attr-merge-vfp-3.d: New test.
* ld-arm/attr-merge-vfp-3r.d: New test.
* ld-arm/attr-merge-vfp-4.d: New test.
* ld-arm/attr-merge-vfp-4r.d: New test.
* ld-arm/attr-merge-vfp-5.d: New test.
* ld-arm/attr-merge-vfp-5r.d: New test.
* ld-arm/attr-merge-vfp-2.s: New test.
* ld-arm/attr-merge-vfp-3.s: New test.
* ld-arm/attr-merge-vfp-3-d16.s: New test.
* ld-arm/attr-merge-vfp-4.s: New test.
* ld-arm/attr-merge-vfp-4-d16.s: New test.
gas/
* doc/c-arm.texi: Document new -mfpu options.
* config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma,
fpu_vfp_ext_fma): New.
(NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms.
(do_vfp_nsyn_fma_fms, do_neon_fmac): New functions.
(insns): Move double precision load/store. Split out double
precision VFPv3 instrucitons. Add VFPv4 instructions.
(arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants.
(aeabi_set_public_attributes): Set VFPv4 variants
gas/testsuite/
* gas/arm/attr-mfpu-vfpv4.d: New test.
* gas/arm/attr-mfpu-vfpv4-d16.d: New test.
* gas/arm/neon-fma-cov.d: New test.
* gas/arm/neon-fma-cov.s: New test.
* gas/arm/vfp-fma-inc.s: New test.
* gas/arm/vfp-fma-arm.d: New test.
* gas/arm/vfp-fma-arm.s: New test.
* gas/arm/vfp-fma-thumb.d: New test.
* gas/arm/vfp-fma-thumb.s: New test.
* gas/arm/vfma1.d: New test.
* gas/arm/vfma1.s: New test.
* gas/arm/vfpv3xd.d: New test.
* gas/arm/vfpv3xd.s: New test.
include/opcode/
* arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA,
FPU_VFP_EXT_FMA, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4): Define.
(FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3_FP16, FPU_ARCH_VFP_V3xD,
FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_VFP_V4, FPU_ARCH_VFP_V4D16,
FPU_ARCH_NEON_VFP_V4): Define.
binutils/
* readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16.
bfd/
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4
attributes.
opcodes/
* arm-dis.c (coprocessor_opcodes): Update to use new feature flags.
Add VFPv4 instructions.
2009-11-02 13:44:05 +00:00
Alan Modra
ec15ac5061
missed from last commit
2009-11-02 11:59:14 +00:00
Alan Modra
4cae74aaa2
* ecoff.c (ecoff_symbol_clone_hook): New function.
...
* ecoff.h (ecoff_symbol_clone_hook): Declare.
* obj.h (struct format_ops): Add symbol_clone_hook.
* config/obj-aout.c (aout_format_ops): Init new field.
* config/obj-coff.c (coff_format_ops): Likewise.
* config/obj-ecoff.c (ecoff_format_ops): Likewise.
* config/obj-elf.c (elf_format_ops): Likewise.
* config/obj-ecoff.h (obj_symbol_clone_hook): Define.
* config/obj-multi.h (obj_symbol_clone_hook): Define.
2009-11-02 11:49:48 +00:00
Alan Modra
3703bab932
* elflink.c (elf_link_add_object_symbols): Don't force debug
...
symbols local.
2009-11-02 06:27:08 +00:00
Alan Modra
4879cf1683
* ld-scripts/phdrs3.exp (LDFLAGS): Add "--local-store 0:0" for SPU.
2009-11-02 03:44:20 +00:00
Alan Modra
8c16928a3e
* messages.c (as_fatal): Apply 2001-01-15 change and followup
...
to second copy of function.
2009-11-02 02:01:15 +00:00
gdbadmin
a2a375b55b
*** empty log message ***
2009-11-02 00:00:33 +00:00
Alan Modra
b7cb8455fd
daily update
2009-11-01 23:00:04 +00:00
Michael Snyder
399cd16192
2009-11-01 Michael Snyder <msnyder@vmware.com>
...
* NEWS (New Commands): Mention record save/restore.
2009-11-01 21:20:18 +00:00
Vladimir Prus
3afae151a3
* gdb.texinfo (GDB/MI Stack Manipulation): Make
...
-stack-list-arguments have the same documentation for parameter
as -stack-list-locals. Add comas.
2009-11-01 19:54:24 +00:00
gdbadmin
c357120749
*** empty log message ***
2009-11-01 00:00:04 +00:00
Alan Modra
3db36ded4f
daily update
2009-10-31 23:00:05 +00:00
Michael Snyder
3d947dffe0
2009-10-31 Michael Snyder <msnyder@vmware.com>
...
* breakpoint.c (bpstat_stop_status): Fix broken comment.
2009-10-31 18:30:40 +00:00
Pedro Alves
07b7cff327
* record.c (record_restore, cmd_record_save): Debug output goes to
...
gdb_stdlog.
2009-10-31 14:56:26 +00:00
Sergio Durigan Junior
08bca2595a
Fixing the date format for the last ChangeLog entry.
2009-10-31 06:05:15 +00:00
Sergio Durigan Junior
bccd0dd203
gdb/ChangeLog:
...
2009-31-10 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
* breakpoint.c (catch_syscall_split_args): Remove unecessary warning
displayed when the user provided a syscall name and there is no
XML support.
* xml-syscall.c: Renamed `_sysinfo' to `sysinfo'.
(set_xml_syscall_file_name): Remove syscall_warn_user.
(xml_init_syscalls_info): Remove warning.
(init_sysinfo): Update warnings.
gdb/testsuite/ChangeLog:
2009-31-10 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
* gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
the modified warnings for catch syscall. Verify if GDB was compiled
with support for lib expat, and choose which tests to run depending
on this.
2009-10-31 06:00:13 +00:00
Doug Kwan
ebd95253ac
2009-10-30 Doug Kwan <dougkwan@google.com>
...
* arm.cc (Stub_addend_reader): Fix bug in previouls check-in.
2009-10-31 03:06:59 +00:00
Doug Kwan
e9bbb53879
2009-10-30 Doug Kwan <dougkwan@google.com>
...
* arm.cc (Stub_addend_reader): New struct template definition
and partial specializations.
(Stub_addend_reader::operator()): New method definition for a
partially specialized template.
2009-10-31 02:59:36 +00:00
gdbadmin
0081696c26
*** empty log message ***
2009-10-31 00:00:33 +00:00
Alan Modra
0b4f16a24e
daily update
2009-10-30 23:00:04 +00:00
Doug Kwan
d5b40221bc
2009-10-30 Doug Kwan <dougkwan@google.com>
...
elfcpp/ChangeLog:
* arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN,
EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3,
EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific
flags.
(arm_eabi_version): New inline function.
* elfcpp.h: Add a comment about DT_ENCODING.
gold/ChangeLog:
* arm.cc (Arm_relobj::processor_specific_flags): New method
definition.
(Arm_relobj::do_read_symbols): New method declaration.
(Arm_relobj::processor_specific_flags_): New data member declaration.
(Arm_dynobj): New class definition.
(Target_arm::do_finalize_sections): Add input_objects parameter.
(Target_arm::do_adjust_elf_header): New method declaration.
(Target_arm::are_eabi_versions_compatible,
(Target_arm::merge_processor_specific_flags): New method declaration.
(Target_arm::do_make_elf_object): New overloaded method definitions
and declaration.
(Arm_relobj::do_read_symbols): New method definition.
(Arm_dynobj::do_read_symbols): Ditto.
(Target_arm::do_finalize_sections): Add input_objects parameters.
Merge processor-specific flags from all input objects.
(Target_arm::are_eabi_versions_compatible,
Target_arm::merge_processor_specific_flags,
Target_arm::do_adjust_elf_header, Target_arm::do_make_elf_object):
New method definitions.
* i386.cc (Target_i386::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
* layout.cc (Layout::finalize): Pass input objects to target's.
finalize_sections function.
* output.cc (Output_file_header::do_sized_write): Set ELF file
header's processor-specific flags.
* powerpc.cc (Target_powerpc::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
* sparc.cc (Target_sparc::do_finalize_sections): Same.
* target.h (Input_objects): New forward class declaration.
(Target::processor_specific_flags,
Target::are_processor_specific_flags_sect): New method definitions.
(Target::finalize_sections): Add input_objects parameter.
(Target::Target): Initialize processor_specific_flags_ and
are_processor_specific_flags_set_.
(Target::do_finalize_sections): Add unnamed Input_objects pointer type
parameter.
(Target::set_processor_specific_flags): New method definition.
(Target::processor_specific_flags_,
Target::are_processor_specific_flags_set_): New data member
declarations.
* x86_64.cc (Target_x86_64::do_finalize_sections): Add unnamed
Input_objects pointer type parameter.
2009-10-30 18:49:59 +00:00
Doug Kwan
ebabffbd89
2009-10-30 Doug Kwan <dougkwan@google.com>
...
* arm.cc: Use Arm_address instead of elfcpp::Elf_types<32>::Elf_Addr.
2009-10-30 18:00:55 +00:00
Vladimir Prus
5d4e2b767e
Fix breakpoint commands in MI.
...
* mi/mi-main.c (mi_execute_command): Run bpstat_do_actions.
* mi/mi-cmd-break.c (mi_cmd_break_commands): Pass 1 to
read_command_line_1 to actually parse composite commands.
2009-10-30 17:34:53 +00:00
Dave Anglin
b6cdf8aeed
* config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol
...
with local symbol.
2009-10-30 17:05:58 +00:00
Nathan Sidwell
698be22afe
* ld-elfcomm/elfcomm.exp: Compile with -fcommon.
2009-10-30 10:46:00 +00:00
gdbadmin
0522abc9eb
*** empty log message ***
2009-10-30 00:00:03 +00:00
Alan Modra
0db823f6e5
daily update
2009-10-29 23:00:04 +00:00
H.J. Lu
206c2556c2
gas/
...
2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
* config/tc-i386.c (build_modrm_byte): Do not swap REG and
NDS operands for FMA4.
gas/testsuite/
2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
* gas/i386/fma4.d: Updated patterns.
* gas/i386/x86-64-fma4.d: Same.
opcodes/
2009-10-29 Sebastian Pop <sebastian.pop@amd.com>
* i386-dis.c (OP_VEX_FMA): Removed.
(VexFMA): Removed.
(Vex128FMA): Removed.
(prefix_table): First source operand of FMA4 insns is decoded
with Vex not with VexFMA.
(OP_EX_VexW): Second source operand is decoded with get_vex_imm8
when vex.w is set. Third source operand is decoded with
get_vex_imm8 when vex.w is cleared.
(OP_VEX_FMA): Removed.
2009-10-29 22:22:59 +00:00
Sandra Loosemore
8a35fb51cd
2009-10-29 Sandra Loosemore <sandra@codesourcery.com>
...
PR gdb/10783
gdb/
* target.c (simple_search_memory): Correct read_addr initialization
in loop for searching subsequent chunks.
gdb/gdbserver/
* server.c (handle_search_memory_1): Correct read_addr initialization
in loop for searching subsequent chunks.
2009-10-29 20:12:26 +00:00
Paul Brook
e6655fdab4
2009-10-29 Paul Brook <paul@codesourcery.com>
...
gas/
* config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes.
gas/testsuite/
* gas/arm/vfp-neon-syntax.d: Update expected results.
* gas/arm/vfp-neon-syntax_t2.d: Update expected results.
2009-10-29 18:01:13 +00:00
Paul Pluzhnikov
96f1593750
2009-10-29 Paul Pluzhnikov <ppluzhnikov@google.com>
...
* configure.ac: New --with-libthread-db option.
* thread-db.c: Allow direct dependence on libthread_db.
(thread_db_free): Adjust.
* config.in: Regenerate.
* configure: Likewise.
2009-10-29 17:43:44 +00:00
Nathan Sidwell
64c1b14eac
* emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ...
...
(OTHER_READWRITE_SECTIONS): ... here.
2009-10-29 16:43:56 +00:00
Paul Brook
b38f9f31ea
2009-10-29 Paul Brook <paul@codesourcery.com>
...
gas/
* doc/c-arm.texi: Document ARM -mcpu=cortex-a5.
* config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5.
2009-10-29 15:37:53 +00:00
Hans-Peter Nilsson
1e22530edf
* ld-cris/dso12-pltdis.d: New test.
2009-10-29 11:50:57 +00:00
Hans-Peter Nilsson
5d5a918a3d
* elf32-cris.c (cris_elf_plt_sym_val): New function.
...
(elf_backend_plt_sym_val): Define.
2009-10-29 11:49:00 +00:00
Tristan Gingold
1b31b9e34a
2009-10-29 Tristan Gingold <gingold@adacore.com>
...
* config/tc-mep.c (md_pseudo_table): Remove dwarf2 pseudo
as they are already defined in obj-elf.c
* config/tc-m32c.c (md_pseudo_table): Ditto.
* config/tc-spu.c (md_pseudo_table): Ditto.
* config/tc-avr.c (md_pseudo_table): Ditto.
2009-10-29 09:43:18 +00:00
Ian Lance Taylor
ad0f2072a6
* object.h (class Relobj): Drop options parameter from
...
gc_process_relocs, scan_relocs, relocate, do_gc_process_relocs,
do_scan_relocs, do_relocate. Change all callers.
(class Sized_relobj): Drop options parameters from
do_gc_process_relocs, do_scan_relocs, do_relocate,
do_relocate_sections, relocate_sections, emit_relocs_scan,
emit_relocs_scan_reltype. Change all callers.
(struct Relocate_info): Remove options field and all references to
it.
* reloc.h (class Read_relocs): Remove options constructor
parameter and options_ field. Change all callers.
(class Gc_process_relocs, class Scan_relocs): Likewise.
(class Relocate_task): Likewise.
* target-reloc.h (scan_relocs): Remove options parameter. Change
all callers.
(scan_relocatable_relocs): Likewise.
* target.h (class Sized_target): Remove options parameter from
gc_process_relocs, scan_relocs, scan_relocatable_relocs. Change
all callers.
* gc.h (gc_process_relocs): Remove options parameter. Change all
callers.
* arm.cc: Update functions to remove options parameters.
* i386.cc: Likewise.
* powerpc.cc: Likewise.
* sparc.cc: Likewise.
* x86_64.cc: Likewise.
* testsuite/testfile.cc: Likewise.
2009-10-29 05:16:23 +00:00
Doug Kwan
8ffa366761
2009-10-28 Doug Kwan <dougkwan@google.com>
...
* arm.cc (Arm_relobj): New class definition.
(Arm_relobj::scan_sections_for_stubs,
Arm_relobj::do_count_local_symbols, Arm_relobj::do_relocate_sections):
New method definitions.
2009-10-29 01:53:35 +00:00
Alan Modra
72737fba23
* doc/as.texinfo (Set): Delete incorrect HPPA para.
2009-10-29 00:19:19 +00:00
gdbadmin
95acdbbe0e
*** empty log message ***
2009-10-29 00:00:03 +00:00
Alan Modra
ff65479121
daily update
2009-10-28 23:00:04 +00:00
Daniel Jacobowitz
5fed8c4358
Reported by Antti Hatala <ahatala@nvidia.com>.
...
* arm-tdep.c (thumb_get_next_pc): Limit check to IT instructions
correctly.
2009-10-28 20:17:36 +00:00
Pedro Alves
875cdfbb54
* dwarf2-frame.c (dwarf2_build_frame_info): Discard --gc-section
...
leftover FDEs.
2009-10-28 19:28:57 +00:00
Pedro Alves
1a587334a9
Revert previous patch. Applied an old version by mistake.
2009-10-28 19:01:16 +00:00
Pedro Alves
917bdf821d
* dwarf2-frame.c (dwarf2_build_frame_info): Discard --gc-section
...
leftover FDEs.
2009-10-28 18:37:11 +00:00
Cary Coutant
40f36857fe
* plugin.h (Plugin::Plugin): Initialize cleanup_done_.
...
(Plugin::cleanup_done_): New member.
(Plugin_manager::Plugin_manager): Remove cleanup_done_.
(Plugin_manager::cleanup_done_): Remove.
(Plugin_manager::add_input_file): Edit error message.
* plugin.cc (Plugin::cleanup): Test and set cleanup_done_.
(Plugin_manager::cleanup): Remove use of cleanup_done_.
2009-10-28 18:07:25 +00:00
Kai Tietz
7aee19a1c4
2009-10-28 Kai Tietz <kai.tietz@onevision.com>
...
* emultempl/pep.em (U): Define underscore macro.
(init): Use for __ImageBase U macro.
2009-10-28 17:34:14 +00:00
Kai Tietz
36d21de541
2009-10-28 Kai Tietz <kai.tietz@onevision.com>
...
* dlltool.c (leading_underscore): New local variable.
(asm_prefix): Interpret leading_underscore.
(xlate): Likewise.
(add_excludes): Use leading_underscore for making
symbol name.
(gen_exp_file): Use leading_underscore for internal
_imp_ symbols.
(usage): Add display of --no-leading-underscore and
--leading-underscore option.
(OPTION_NO_LEADING_UNDERSCORE): New.
(OPTION_LEADING_UNDERSCORE): New.
(long_options): Add --no-leading-underscore and
--leading-underscore option.
(main): Handle new options.
* doc/binutils.text: Add documentation of the options
--no-leading-underscore and --leading-underscore.
2009-10-28 17:21:36 +00:00