aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-09Revert the accidental checkin.H.J. Lu1-1/+1
2011-04-09Return relocation error on unsupported relocation.H.J. Lu3-3/+19
2011-04-09 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_relocate_section): Return relocation error on unsupported relocation. * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
2011-04-09gdb/Jan Kratochvil2-1/+8
Fix crash of gdb save-index on a STABS file. * dwarf2read.c (write_psymtabs_to_index): Return also on no PSYMTABS_ADDRMAP.
2011-04-09Replace __pid_t with pid_t.H.J. Lu2-5/+12
2011-04-09 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12657 * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with pid_t.
2011-04-09gdb/Jan Kratochvil2-18/+105
Fix DW_AT_accessibility compatibility with gcc-4.6+. * dwarf2read.c: Include ctype.h. (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New functions. (dwarf2_add_field): Fix new_field->accessibility by calling dwarf2_default_access_attribute. Restructure setting accessibility vs. virtuality. (dwarf2_add_member_fn): New variable accessibility. Fix fnp is_private and is_protected by calling dwarf2_default_access_attribute.
2011-04-09daily updateAlan Modra1-1/+1
2011-04-09*** empty log message ***gdbadmin1-1/+1
2011-04-08 * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reasonKevin Buettner2-0/+6
to the initialization.
2011-04-082011-04-08 Steve Ellcey <sje@cup.hp.com>Steve Ellcey2-0/+6
* Add default_frame_unwind_stop_reason value to libunwind_frame_unwind initalization.
2011-04-08Properly handle R_386_TLS_LDO_32 for PIE.H.J. Lu6-1/+41
bfd/ 2011-04-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/12654 * elf32-i386.c (elf_i386_relocate_section): Check !executable instead of shared for R_386_TLS_LDO_32. ld/testsuite/ 2011-04-08 H.J. Lu <hongjiu.lu@intel.com> PR ld/12654 * ld-i386/i386.exp: Run tlspie2. * ld-i386/tlspie2.d: New. * ld-i386/tlspie2.s: Likewise.
2011-04-08 PR ld/12643Nick Clifton2-3/+8
* configure.tgt: Add support for arm-*-gnueabihf targets.
2011-04-08 * arlex.l: Prevent redefinition of YY_NO_UNPUT.Nick Clifton3-3/+12
* syslex.l: Likewise.
2011-04-082011-04-07 Paul Carroll<pcarroll@codesourcery.com>Paul Brook5-18/+94
opcodes/ * arm-dis.c (print_insn): init vars moved into private_data structure. binutils/testsuite/ * binutils-all/arm/simple.s: Demo issue with objdump with multiple input files * binutils-all/arm/objdump.exp: added new ARM test case code
2011-04-082011-04-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-231/+10
* Makefile.am (SOURCE_HFILES): Remove xcoff-target.h * coff-pmac: Remove * xcoff-target.h: Remove * Makefile.in: Regenerate.
2011-04-08*** empty log message ***gdbadmin1-1/+1
2011-04-08daily updateAlan Modra1-1/+1
2011-04-07 Remove support for old Cygwin 1.5 versions.Pierre Muller2-5/+15
* win32-low.c (win32_create_inferior): Use new cygwin_path_list function to avoid warning. (win32_add_one_solib): Use cygwin_conv_path function to avoid warning.
2011-04-07 Remove support for old Cygwin 1.5 versions.Pierre Muller3-27/+9
* remote-fileio.c: Remove macros used to emulate new cygwin_conv_path function on old Cygwin version. * windows-nat.c: Remove cygwin version check and always define __USEWIDE for Cygwin compilation.
2011-04-07 * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.Cary Coutant2-0/+5
2011-04-072011-04-07 Eric B. Weddington <eric.weddington@atmel.com>Eric B. Weddington2-5/+4
* Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
2011-04-072011-04-07 Paul Brook <paul@codesourcery.com>Paul Brook2-91/+342
binutils/ * readelf.c (arm_section_get_word): Handle C6000 relocations. (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode, decode_tic6x_unwind_bytecode, expand_prel31): New functions. (decode_arm_unwind): Split out common code from ARM specific bits. (dump_arm_unwind): Use expand_prel31. (arm_process_unwind): Handle SHT_C6000_UNWIND sections. (process_unwind): Add SHT_C6000_UNWIND.
2011-04-072011-04-07 Paul Brook <paul@codesourcery.com>Paul Brook2-10/+22
bfd/ * elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is pc-relative. (elf32_tic6x_howto_table_rel): Ditto. (elf32_tic6x_relocate_section): Implement R_C6000_PREL31. (elf32_tic6x_check_relocs): Ditto.
2011-04-072011-04-07 Yao Qi <yao@codesourcery.com>Yao Qi4-17/+25
* arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN and TO. * arm-tdep.c (cleanup_svc): Handle variable instruction size. (arm_copy_svc): Remove parameters INSN and TO. (decode_svc_copro): Update caller. * arm-tdep.h (struct displaced_step_closure): Remove parameters from function pointer `copy_svc_os'.
2011-04-07 * arm-tdep.c (cleanup_branch): Set a correct return address inYao Qi2-2/+15
LR for ARM and Thumb.
2011-04-07 * configure.tgt: Remove stray ;;.Joseph Myers2-1/+4
2011-04-07daily updateAlan Modra1-1/+1
2011-04-07*** empty log message ***gdbadmin1-1/+1
2011-04-06gdb/Jan Kratochvil5-8/+23
Code cleanup. * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT in the function comment, a new note on values compatibility. * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. * symtab.h (SYMBOL_HASH_NEXT): New.
2011-04-06bfd:Joseph Myers21-127/+83
* config.bfd (thumb-*-oabi): Don't handle in list of obsolete targets. (strongarm*, thumb*, xscale*): Remove architectures. (strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*, thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf, xscale-*-coff): Remove targets. binutils: * configure.in (thumb-*-pe*): Remove. * configure: Regenerate. binutils/testsuite: * binutils-all/objcopy.exp (*arm*-*-coff): Change to arm*-*-coff. (xscale-*-coff, thumb*-*-coff, thumb*-*-pe): Don't handle. gas: * configure.tgt (strongarm*be, strongarm*b, strongarm*, xscale*be|xscale*b, xscale*): Remove architectures. (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets. gas/testsuite: * gas/all/gas.exp (*arm*-*-coff): Change to arm*-*-coff. (thumb*-*-coff, thumb*-*-pe*): Don;t handle. * gas/arm/arm.exp (*arm*-*-*): Change to arm*-*-*. (*xscale*-*-*): Don't handle. * gas/cfi/cfi.exp (xscale*-*): Don't handle. * gas/elf/elf.exp (*arm*-*-*): Change to arm*-*-*. (xscale*-*-*): Don't handle. ld: * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets. ld/testsuite: * ld-selective/selective.exp (xscale-*-*): Don't handle. * ld-srec/srec.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't handle. (*arm*-*-*): Change to arm*-*-*. (strongarm*-*-coff, xscale*-*-coff, thumb-*-coff*, thumb-*-pe*, thumb-*-elf*, strongarm*-*-*, thumb-*-*): Remove xfails. * ld-undefined/undefined.exp (thumb*-*-pe*, thumb*-*-pe*): Remove commented-out xfails. (thumb-elf): Remove reference in comment. * lib/ld-lib.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't handle.
2011-04-06 * configure.ac (build_tools): Remove build-byacc.Joseph Myers5-17677/+29
(host_libs): Remove mmalloc. (host_tools): Remove byacc make patch prms send-pr ash bash bzip2 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed perl gawk findutils gettext zip. (libgcj): Remove target-qthreads. (target_tools): Remove target-examples target-gperf. (YACC): Don't handle building byacc. * configure: Regenerate. * Makefile.def (ash, autoconf, automake, bash, byacc, bzip2, diff, dosutils, examples, fileutils, find, findutils, gawk, gettext, gnuserv, gperf, gzip, hello, indent, libtool, make, mmalloc, patch, perl, prms, qthreads, rcs, recode, release, sed, send-pr, shellutils, tar, textutils, time, uudecode, wdiff, zip): Don't handle building components. * Makefile.in: Regenerate.
2011-04-06 * ppc-linux-nat.c (check_condition): Add len output parameter.Thiago Jung Bauermann2-6/+26
Set it based on the memory region referenced in the condition expression. Update all callers.
2011-04-06gdb/Jan Kratochvil2-3/+13
Fix crash regression on systems featuring .gdb_index. * objfiles.c (free_objfile): Move the forget_cached_source_info_for_objfile call earlier. Comment it. Extend the comment for objfile_free_data.
2011-04-06gdb/Jan Kratochvil2-0/+12
Fix regression of displaying the debug format. * buildsym.c (end_symtab): Set symtab's debugformat and producer from subfile.
2011-04-06*** empty log message ***gdbadmin1-1/+1
2011-04-06daily updateAlan Modra1-1/+1
2011-04-05Add missing ChangeLog entrySterling Augustine1-0/+4
2011-04-052011-04-05 Sterling Augustine <augustine.sterling@gmail.com>Sterling Augustine1-1/+1
* MAINTAINERS: Update my email address.
2011-04-05 * incremental-dump.cc (dump_incremental_inputs): Change signatureCary Coutant4-222/+417
to take a Sized_incremental_binary; change caller. Use readers in Sized_incremental_binary. * incremental.cc (Sized_incremental_binary::find_incremental_inputs_sections): Rename do_find_incremental_inputs_sections to this. (Sized_incremental_binary::setup_readers): New function. (Sized_incremental_binary::do_check_inputs): Check has_incremental_info_ flag; move setup code to setup_readers; use input readers. (Sized_incremental_binary::do_file_is_unchanged): New function. (Sized_incremental_binary::do_get_input_reader): New function. * incremental.h (class Incremental_binary): Move to end of file. (Incremental_binary::file_is_unchanged): New function. (Incremental_binary::do_file_is_unchanged): New function. (Incremental_binary::Input_reader): New class. (Incremental_binary::get_input_reader): New function. (class Sized_incremental_binary): Move to end of file. (Sized_incremental_binary::Sized_incremental_binary): Setup the input section reader classes. (Sized_incremental_binary::has_incremental_info): New function. (Sized_incremental_binary::inputs_reader): New function. (Sized_incremental_binary::symtab_reader): New function. (Sized_incremental_binary::relocs_reader): New function. (Sized_incremental_binary::got_plt_reader): New function. (Sized_incremental_binary::do_file_is_unchanged): New function. (Sized_incremental_binary::Sized_input_reader): New class. (Sized_incremental_binary::get_input_reader): New function. (Sized_incremental_binary::find_incremental_inputs_sections): Rename do_find_incremental_inputs_sections to this. (Sized_incremental_binary::setup_readers): New function. (Sized_incremental_binary::has_incremental_info_): New data member. (Sized_incremental_binary::inputs_reader_): New data member. (Sized_incremental_binary::symtab_reader_): New data member. (Sized_incremental_binary::relocs_reader_): New data member. (Sized_incremental_binary::got_plt_reader_): New data member. (Sized_incremental_binary::current_input_file_): New data member.
2011-04-052011-04-05 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-3/+9
PR gold/12640 * dwarf_reader.cc (Sized_dwarf_line_info): Fix vector bounds violation.
2011-04-05Sync config.sub from upstream.Ralf Wildenhues2-0/+6
/: * config.sub: Sync from upstream.
2011-04-05daily updateAlan Modra1-1/+1
2011-04-05*** empty log message ***gdbadmin1-1/+1
2011-04-04 * cli/cli-interp.c (struct captured_execute_command_args):Tom Tromey7-98/+51
Remove. (do_captured_execute_command): Remove. (safe_execute_command): Use TRY_CATCH. * cli/cli-script.c (struct wrapped_read_command_file_args): Remove. (wrapped_read_command_file): Remove. (script_from_file): Use TRY_CATCH. * exceptions.c (catch_exception): Remove. * exceptions.h (catch_exception): Remove. (deprecated_throw_reason): Update comment. * mi/mi-main.c (captured_mi_execute_command): Change 'data' argument to 'context'. (mi_execute_command): Use TRY_CATCH. * remote.c (struct start_remote_args): Remove. (remote_start_remote): Update; change arguments. (remote_open_1): Use TRY_CATCH.
2011-04-04 * tracepoint.c (scope_info): Update.Tom Tromey8-82/+61
* symtab.c (decode_line_spec): Update. * python/python.c (gdbpy_decode_line): Update. * linespec.h (decode_line_1): Update. * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. (decode_compound, find_method, symtab_from_filename) (decode_variable): Likewise. * cli/cli-cmds.c (edit_command): Update. (list_command): Update. * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' argument. (create_breakpoint): Update. (until_break_command): Update. (addr_string_to_sals): Update. (decode_line_spec_1): Update.
2011-04-04Add a testcase for PR ld/12627.H.J. Lu5-0/+56
2011-04-04 H.J. Lu <hongjiu.lu@intel.com> PR ld/12627 * ld-i386/i386.exp: Run pr12627. * ld-i386/pr12627.d: New. * ld-i386/pr12627.s: Likewise. * ld-i386/pr12627.t: Likewise.
2011-04-04 * breakpoint.c (struct captured_parse_breakpoint_args): Remove.Tom Tromey2-26/+12
(do_captured_parse_breakpoint): Remove. (create_breakpoint): `e' is now volatile. Remove `parse_args'. Use TRY_CATCH directly.
2011-04-04 * symtab.h (free_symtab): Remove.Tom Tromey5-36/+43
(forget_cached_source_info_for_objfile): Declare. * symmisc.c (free_symtab): Remove. * source.c (forget_cached_source_info_for_objfile): New function. (forget_cached_source_info): Use it. * objfiles.c (free_objfile): Simplify check before calling clear_current_source_symtab_and_line. Call forget_cached_source_info_for_objfile.
2011-04-04 * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack.Tom Tromey6-73/+57
(new_symtab): Don't set `free_code' on symtab. (new_linetable): Properly handle size==0. * symtab.h (struct symtab) <free_code, free_func>: Remove. * symmisc.c (free_symtab): Don't free the linetable. Don't call free_func. * jv-lang.c (struct jv_per_objfile_data): New. (jv_per_objfile_free): Free the data. (get_dynamics_objfile): Allocate a jv_per_objfile_data. (get_java_class_symtab): Set the `dict' field on the jv_per_objfile_data. (free_class_block): Remove. * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on the symtab.
2011-04-04gdbTom Tromey8-296/+37
* symfile.c (reread_symbols): Update. * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove field. * objfiles.c (allocate_objfile): Update. * cp-support.h (cp_check_possible_namespace_symbols): Don't declare. * cp-namespace.c (lookup_symbol_file): Don't call lookup_possible_namespace_symbol. (initialize_namespace_symtab, get_possible_namespace_block) (free_namespace_block, cp_check_possible_namespace_symbols) (check_possible_namespace_symbols_loop) (check_one_possible_namespace_symbol) (lookup_possible_namespace_symbol): Remove. (maintenance_cplus_namespace): Replace with notice. (_initialize_cp_namespace): Deprecate `maint cplus namespace'. gdb/testsuite * gdb.cp/maint.exp (test_help): Update. (test_namespace): Likewise.
2011-04-04 * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const.Tom Tromey6-36/+30
* symtab.h (struct symtab) <producer, debugformat>: Now const. * symmisc.c (free_symtab): Don't free debugformat. * buildsym.h (struct subfile) <producer, debugformat>: Now const. (record_debugformat, record_producer): Document. * buildsym.c (end_symtab): Don't save debugformat and producer names on obstack. (end_symtab): Don't free debugformat and producer fields. (record_debugformat): Don't call xstrdup. (record_producer): Likewise.