aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-08-25 * config/tc-arm.c (encode_arm_addr_mode_2): FixJie Zhang7-7/+56
BAD_PC_ADDRESSING condition. testsuite/ * gas/arm/ldst-pc.d: New test. * gas/arm/ldst-pc.s: New test. * gas/arm/sp-pc-validations-bad.s: `str r0,[pc,#4]' is valid. * gas/arm/sp-pc-validations-bad.l: Adjust accordingly.
2010-08-25 PR symtab/11942Doug Evans7-56/+258
* dwarf2read.c (dwarf2_per_objfile): New members debug_info_type_hash, debug_types_type_hash. (dwarf2_cu, dwarf2_per_cu_data): Delete member type_hash. All uses updated. (lookup_die_type): Renamed from tag_type_to_tag. First look in appropriate type_hash table. All callers updated. (allocate_signatured_type_table): Renamed from allocate_signatured_type_hash_table. All callers updated. (create_signatured_type_table_from_index): Renamed from create_signatured_type_hash_from_index. All callers updated. (read_die_type): Add comment. Move actual reading to ... (read_die_type_1): ... here. New function. (follow_die_ref_or_sig): Tweak comment. (set_die_type): Rewrite to use appropriate choice of debug_info_type_hash or debug_types_type_hash. (get_die_type_at_offset): New function. (get_die_type): Call it. testsuite/ PR symtab/11942 * gdb.dwarf2/dw4-sig-types.cc: New file. * gdb.dwarf2/dw4-sig-types.h: New file. * gdb.dwarf2/dw4-sig-types-b.cc: New file. * gdb.dwarf2/dw4-sig-types.exp: New file.
2010-08-25*** empty log message ***gdbadmin1-1/+1
2010-08-25daily updateAlan Modra1-1/+1
2010-08-24 * linux-low.h (linux_thread_area): Delete declaration.Pedro Alves2-1/+4
2010-08-24gdb/Jan Kratochvil2-1/+5
* python/py-type.c (typy_richcompare): Initialize worklist.
2010-08-24Fix typos in ld-x86-64/x86-64.exp.H.J. Lu2-3/+7
2010-08-24 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/x86-64.exp: Fix typos.
2010-08-24 * arm-tdep.c: Include features/arm-with-m.c.Daniel Jacobowitz8-164/+336
(arm_psr_thumb_bit): New. Update all uses of CPSR_T to call this function. (arm_pc_is_thumb): Add a gdbarch argument. Update all callers. Check is_m after force-mode. (arm_gdbarch_init): Check the binary before the target description. Add check for M profile attribute. If we have an M-profile device, but no target register description, use arm-with-m. Recognize the new org.gnu.gdb.arm.m-profile feature and its xpsr register. (_initialize_arm_tdep): Call initialize_tdesc_arm_with_m. * arm-tdep.h (XPSR_T): Define. (struct gdbarch_tdep): Add is_m member. * features/arm-m-profile.xml, features/arm-with-m.c, features/arm-with-m.xml: New files. doc/ * gdb.texinfo (ARM Features): Document org.gnu.gdb.arm.m-profile.
2010-08-24 PR 11899Nick Clifton2-2/+13
* layout.cc (segment_precedes): Sort segments by their physical addresses, if they have been set.
2010-08-24 * sim/cris/asm/nonvcv32.ms: Neutralize changed &&-in-macro gas syntax.Hans-Peter Nilsson2-4/+8
2010-08-24daily updateAlan Modra1-1/+1
2010-08-24*** empty log message ***gdbadmin1-1/+1
2010-08-23 * dwarf2read.c (set_die_type): Fix typo in comment.Doug Evans2-1/+2
2010-08-23 * dwarf2read.c (read_structure_type): Add comment.Doug Evans2-8/+25
(read_enumeration_type): Add comment. (process_enumeration_scope): Move definition of some locals closer to their use. (read_namespace_type): Add comment.
2010-08-23gdbTom Tromey7-3/+97
PR python/11145: * python/py-value.c: Include expression.h. (valpy_do_cast): New function. (valpy_cast): Use it. (valpy_dynamic_cast): New function. (valpy_reinterpret_cast): Likewise. (value_object_methods): Add dynamic_cast, reinterpret_cast. gdb/doc PR python/11145: * gdb.texinfo (Values From Inferior): Document dynamic_cast and reinterpret_cast methods. gdb/testsuite PR python/11145: * gdb.python/py-value.c (Base, Derived): New types. (base): New global. * gdb.python/py-value.exp (test_subscript_regression): Add dynamic_cast test.
2010-08-23 * archive.cc (Lib_group::add_symbols): Lock object before deleting itsCary Coutant3-9/+20
symbols data. (Lib_group::include_member): Unlock object after deleting its symbols data. * testsuite/start_lib_test_3.c: Remove all global symbols to trigger the bug fixed here.
2010-08-23 PR python/11391:Tom Tromey2-5/+8
* python/py-value.c (valpy_nonzero): Don't throw error for other Value types.
2010-08-23gdbTom Tromey4-1/+220
PR python/10676: * python/py-type.c: Include bcache.h, vec.h. (struct type_equality_entry): New. (compare_strings): New function. (check_types_equal): Likewise. (check_types_worklist): Likewise. (typy_richcompare): Likewise. (type_object_type): Set tp_richcompare field. gdb/testsuite PR python/10676: * gdb.python/py-type.exp (test_fields): Add tests for type equality.
2010-08-23 PR python/10953:Tom Tromey2-3/+20
* python/py-type.c (typy_fields): Call check_typedef. (typy_template_argument): Add TRY_CATCH.
2010-08-23gdbTom Tromey6-0/+81
PR python/11915: * python/py-type.c (typy_array): New function. (type_object_methods): Add "array". gdb/doc PR python/11915: * gdb.texinfo (Types In Python): Document array method. gdb/testsuite PR python/11915: * gdb.python/py-type.exp (test_fields): Add tests for array.
2010-08-23 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does notKeith Seitz2-1/+27
have any children. Create a new abbrev for it. Add missing terminal sequence to .debug_abbrev.
2010-08-23Add --input-osabi and --output-osabi to elfedit.H.J. Lu6-8/+140
binutils/ 2010-08-23 H.J. Lu <hongjiu.lu@intel.com> * elfedit.c (input_elf_osabi): New. (output_elf_osbi): Likewise. (osabis): Likewise. (elf_osabi): Likewise. (update_elf_header): Support updating ELF OSABI. (make_qualified_name): Break long line. (command_line_switch): Add OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI. (options): Likewise. (usage): Add --input-osabi and --output-osabi. (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI. * doc/binutils.texi: Document --input-osabi and --output-osabi for elfedit. binutils/testsuite/ 2010-08-23 H.J. Lu <hongjiu.lu@intel.com> * binutils-all/elfedit-3.d: New. * binutils-all/elfedit.exp: Run elfedit-3.
2010-08-23 binutils/Maciej W. Rozycki6-4/+16
* readelf.c (display_mips_gnu_attribute): Replace GCC options with a textual description of a MIPS32r2 64-bit FPU. ld/testsuite/ * ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for the new MIPS32r2 64-bit FPU description. * ld-mips-elf/attr-gnu-4-40.d: Likewise. * ld-mips-elf/attr-gnu-4-44.d: Likewise.
2010-08-23daily updateAlan Modra1-1/+1
2010-08-23*** empty log message ***gdbadmin1-1/+1
2010-08-22Find one .eh_frame section for --eh-frame-hdr.H.J. Lu2-5/+16
2010-08-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/11937 * emultempl/elf32.em (_after_open): Find one .eh_frame section for --eh-frame-hdr.
2010-08-22Don't check relocation if input ELF object ID doesn't match output.H.J. Lu8-0/+78
bfd/ 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/11933 * elflink.c (elf_link_add_object_symbols): Don't check relocation if input ELF object ID doesn't match output. ld/testsuite/ 2010-08-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/11933 * ld-x86-64/mixed1a.s: New. * ld-x86-64/mixed1b.s: Likewise. * ld-x86-64/mixed2a.s: Likewise. * ld-x86-64/mixed2b.s: Likewise. * ld-x86-64/x86-64.exp: Text mixed x86_64 and i386 inputs.
2010-08-22Find an ELF input for --build-id and --eh-frame-hdr.H.J. Lu2-17/+32
2010-08-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/11937 * emultempl/elf32.em (_after_open): Find an ELF input for --build-id and --eh-frame-hdr.
2010-08-22*** empty log message ***gdbadmin1-1/+1
2010-08-22daily updateAlan Modra1-1/+1
2010-08-21Fix misquoting in stdint.m4.Ralf Wildenhues6-20/+26
config/: PR target/45084 * stdint.m4 (GCC_HEADER_STDINT): Use m4 quotes for arguments of AC_MSG_ERROR. libdecnumber/: * configure: Regenerate. bfd/: * configure: Regenerate.
2010-08-21daily updateAlan Modra1-1/+1
2010-08-21*** empty log message ***gdbadmin1-1/+1
2010-08-20merge from gccDJ Delorie2-4/+17
2010-08-20Revert the last checkin on sec_merge_emit.H.J. Lu2-4/+4
2010-08-20 H.J. Lu <hongjiu.lu@intel.com> * merge.c (sec_merge_emit): Revert the last checkin.
2010-08-20 * Makefile.am (eshlelf_fd.c): Correct the name of the toolMaciej W. Rozycki3-2/+8
directory. * Makefile.in: Regenerate.
2010-08-20 * elf32-sh.c (sh_elf_relocate_section): Handle non-ELF outputMaciej W. Rozycki2-29/+45
BFD.
2010-08-20 * ld-sh/sh.exp: Add missing newline.Maciej W. Rozycki2-2/+6
2010-08-20 * elf32-m68k.c (bfd_elf_m68k_set_target_options): Don't set GOTMaciej W. Rozycki2-11/+26
options unless an m68k hash table has been found.
2010-08-20 binutils/Maciej W. Rozycki10-8/+22
* ChangeLog: Add a missing entry for 2010-04-20's commit. ld/testsuite/ * ld-mips-elf/attr-gnu-4-01.d: Correct Tag_GNU_MIPS_ABI_FP. * ld-mips-elf/attr-gnu-4-02.d: Likewise. * ld-mips-elf/attr-gnu-4-10.d: Likewise. * ld-mips-elf/attr-gnu-4-11.d: Likewise. * ld-mips-elf/attr-gnu-4-15.d: Likewise. * ld-mips-elf/attr-gnu-4-20.d: Likewise. * ld-mips-elf/attr-gnu-4-22.d: Likewise. * ld-mips-elf/attr-gnu-4-25.d: Likewise.
2010-08-20 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.Maciej W. Rozycki2-0/+5
2010-08-20 * python/python.c: Include "serial.h".Pedro Alves2-9/+24
(gdbpy_event_fds): Change type to `struct serial *' a array from int array. (gdbpy_run_events): Change parameters. Use serial_readchar in place of read. (gdbpy_post_event): Use serial_write in place of write. (gdbpy_initialize_events): Use serial_pipe instead of pipe, and serial_async in place of add_file_handler.
2010-08-20 * serial.h (gdb_pipe, serial_pipe): Declare.Pedro Alves6-24/+159
* serial.c (serial_interface_lookup): Take a const char pointer. (serial_fdopen): Rename to ... (serial_fdopen_ops): ... this. Add an OPS parameter and use it. Call the OPS' fdopen function if there is one. (serial_fdopen): Rewrite as wrapper to serial_fdopen_ops. (serial_pipe): New. (struct serial_ops) <fdopen>: New field. * ser-mingw.c (free_pipe_state): (free_pipe_state): Close output on non-pex pipes. (pipe_windows_fdopen): New. (gdb_pipe): New. (_initialize_ser_windows): Register pipe_windows_fdopen. * ser-go32.c (gdb_pipe): New. * ser-pipe.c (pipe_close): Close file descriptor even if there's no state pointer. (pipe_ops): Delete. (gdb_pipe): New.
2010-08-20 PR symtab/11465:Keith Seitz2-11/+130
* dwarf2read.c (struct delayed_method_info): New struct. (struct dwarf2_cu): Add vector method_list. (scan_partial_symbols): Count methods for union, class, structure, and interface types. (add_to_method_list): New function. (free_delayed_list): New function. (compute_delayed_physnames): New function. (process_full_comp_unit): Make a cleanup for the CU's delayed physname list, compute the delayed physnames, and free the the list. (dwarf2_add_member_fn): For C++ and Java, delay the computation of the physname until after the CU is read. * dwarf2read.c (read_structure_type): Check if the current DIE's type was already completed after dwarf2_full_name was called.
2010-08-20 PR symtab/11465:Keith Seitz5-0/+1076
* gdb.dwarf2/pr11465.exp: New test. * gdb.dwarf2/pr11465.S: New file. * gdb.dwarf2/dw2-double-set-die-type.S: New file. * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
2010-08-20 * emultempl/elf32.em (_after_open): Check for get_elf_backend_dataNick Clifton2-3/+11
returning NULL.
2010-08-20 * merge.c (sec_merge_emit): Do not zero pad sections that do notNick Clifton2-0/+9
have an alignment.
2010-08-20 * gold/archive.h (Add_lib_group_symbols): Add readsyms_blocker_, adjustCary Coutant10-20/+200
constructor, and set_blocker. * gold/archive.cc (Add_lib_group_symbols::is_runnable): Also check readsyms_blocker_. * gold/readsyms.cc (Read_symbols::do_lib_group): Also pass this->this_blocker_ to Add_lib_group_symbols::set_blocker. * testsuite/Makefile.am (start_lib_test): New test case. * testsuite/Makefile.in: Regenerate. * testsuite/start_lib_test_main.c: New file. * testsuite/start_lib_test_1.c: New file. * testsuite/start_lib_test_2.c: New file. * testsuite/start_lib_test_3.c: New file.
2010-08-20daily updateAlan Modra1-1/+1
2010-08-20*** empty log message ***gdbadmin1-1/+1