aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-25 * elf64-ppc.c (is_static_defined): New function.Alan Modra2-61/+115
(get_tls_mask, ppc_type_of_stub): Use it here. (ppc64_elf_edit_opd): Ensure we only attempt to edit ppc64 input. (ppc64_elf_tls_setup): Typo fix. (adjust_toc_syms): Correctly handle symbols defined past the end of the toc. Move syms on removed entries to next entry rather than to start of toc. (ppc64_elf_edit_toc): Likewise. Ensure we only attempt to edit ppc64 input. Allocate one extra word in skip array. Honour info->keep_memory when reading relocs if we can. Adjust toc relocs after adjusting symbols.
2010-06-252010-06-25 Doug Kwan <dougkwan@google.com>Doug Kwan4-8/+120
* arm.cc (Target_arm::can_check_for_functions_pointers): Return true. (Target_arm::section_may_have_icf_unsafe_pointers): New method definition. (Target_arm::Scan::local_reloc_may_be_function_pointer, Target_arm::Scan::global_reloc_may_be_function_pointer): Implement target hook to detect function points. (Target_arm::Scan::possible_function_pointer_reloc): New method. * icf.h (Icf::check_section_for_function_pointers): Change type of parameter SECTION_NAME to const reference to std::string. Use target hook to determine if section may have unsafe pointers. * target.h (Target::section_may_have_icf_unsafe_pointers): New method definition.
2010-06-25*** empty log message ***gdbadmin1-1/+1
2010-06-25daily updateAlan Modra1-1/+1
2010-06-24Add support for gdb.PYTHONDIR as $gdb_datadir/python.Joel Brobecker2-0/+28
Python scripts to be used by GDB can be stored in that directory, and will be automatically found by the interpreter when importing them. This patch also sets up <gdb_pythondir>/gdb as the directory where gdb submodules can be stored. For now, there is nothing there, but it can now be added easily without further code changes. gdb/ChangeLog: 2010-06-24 Joel Brobecker <brobecker@adacore.com> * python/python.c (_initialize_python): Add new "constant" PYTHONDIR in gdb module. Insert this path at the head of sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and exec its __init__.py script if it exists in that directory.
2010-06-24Add "acc" register. Revise register order and names.Kevin Buettner6-11/+42
2010-06-24 * psymtab.c (lookup_partial_symbol): Mark definition as static.Tom Tromey2-1/+5
2010-06-24gdb/Jan Kratochvil2-1/+7
Fix GDB startup on readonly filesystem. * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
2010-06-24gdb/Jan Kratochvil8-245/+262
Fix PR 9436. * breakpoint.c (handle_jit_event): New function. (bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl, jit, err, table and bs_class. New variables shlib_event, jit_event, this_action and bptype. Change bs_class assignments to this_action assignments. new unhandled bptype internal error. Move here shlib_event and jit_event handling from handle_inferior_event. * breakpoint.h (enum bpstat_what_main_action): Extend the comment. Reorder items. Remove BPSTAT_WHAT_CHECK_SHLIBS and BPSTAT_WHAT_CHECK_JIT. * inferior.h (debug_infrun, stop_on_solib_events): New declarations. * infrun.c (debug_infrun, stop_on_solib_events): Remove static. (handle_inferior_event): Reinitialize frame and gdbarch after bpstat_what call. Move BPSTAT_WHAT_CHECK_SHLIBS and BPSTAT_WHAT_CHECK_JIT handling to bpstat_what. Reinitialize even gdbarch when frame gets reinitialized. gdb/testsuite/ Test PR 9436. * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2010-06-24Add command "eval".Hui Zhu7-14/+96
2010-06-24*** empty log message ***gdbadmin1-1/+1
2010-06-24daily updateAlan Modra1-1/+1
2010-06-23ChangeLog:Ulrich Weigand9-0/+315
* infrun.c (handle_inferior_event): Handle presence of single-step breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED. Cancel single-step breakpoints for TARGET_WAITKIND_EXITED, TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD. * breakpoint.c (detach_single_step_breakpoints): New function. (detach_breakpoints): Call it. (cancel_single_step_breakpoints): New function. * breakpoint.h (cancel_single_step_breakpoints): Add prototype. * spu-tdep.c (spu_memory_remove_breakpoint): New function. (spu_gdbarch_init): Install it. testsuite/ChangeLog: * gdb.cell/fork.exp: New file. * gdb.cell/fork.c: Likewise. * gdb.cell/fork-spu.c: Likewise.
2010-06-23 * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrunNathan Sidwell2-6/+11
when scaning map.
2010-06-23gdb/Jan Kratochvil3-101/+77
* configure.ac: Always set RDYNAMIC at least as `-rdynamic'. * configure: Regenerate.
2010-06-23daily updateAlan Modra1-1/+1
2010-06-23*** empty log message ***gdbadmin1-1/+1
2010-06-22gas/Jan Beulich7-16/+38
2010-06-22 Jan Beulich <jbeulich@novell.com> PR gas/11732 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo symbols named "$". (i386_intel_operand): Remove bogus handling of pseudo symbols named "$". * expr.c (current_location): Remove 'static' and local declaration. * expr.h (current_location): Declare. gas/testsuite/ 2010-06-22 Jan Beulich <jbeulich@novell.com> PR gas/11732 * gas/i386/jump.d: Adjust. * gas/i386/jump.s: Add check for branch to 2+$.
2010-06-22 * lib/gdb.exp (banned_variables_traced): New global variable.Pierre Muller2-6/+30
(gdb_init, gdb_finish): Use new variable to avoid multiple tracing. (gdb_init): Use `trace add variable' instead of obsolete `trace variable'.
2010-06-222010-06-21 Stan Shebs <stan@codesourcery.com>Stan Shebs5-8/+16
* gdb.texinfo: Add explicit @node and @appendix for GFDL. * annotate.texinfo: Ditto. * gdbint.texinfo: Ditto. * stabs.texinfo: Ditto.
2010-06-222010-06-22 Hui Zhu <teawater@gmail.com>Hui Zhu7-36/+131
* i386-tdep.c (i386_record_lea_modrm): Change warning to query. (i386_process_record): Ditto. * record.c (record_memory_query): New variable. (_initialize_record): New command "set record memory-query". * record.h (record_memory_query): New extern. 2010-06-22 Hui Zhu <teawater@gmail.com> * gdb.texinfo: (Process Record and Replay): Add documentation for command "set record memory-query".
2010-06-22 * i386-tdep.h (i386_displaced_step_copy_insn): Declare.Doug Evans4-4/+60
* i386-tdep.c (i386_displaced_step_copy_insn): New function. (i386_syscall_p): Change type of lengthp to int. (i386_displaced_step_fixup): Handle kernels that run one past a syscall insn. * i386-linux-tdep.c (i386_linux_init_abi): Use i386_displaced_step_copy_insn instead of simple_displaced_step_copy_insn.
2010-06-22 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.Doug Evans2-6/+4
2010-06-22*** empty log message ***gdbadmin1-1/+1
2010-06-22daily updateAlan Modra1-1/+1
2010-06-212010-06-21 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2-4/+12
PR gas/11728 * as.c: Globalize keep_it. (main): Remove keep_it. Move conditional from here... (close_output_file): ...to here.
2010-06-212010-06-21 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola6-49/+155
* fileread.cc (Input_file::find_fie): New (Input_file::open): Use Input_file::find_fie. * fileread.h (Input_file::find_fie): New * plugin.cc (set_extra_library_path): New. (Plugin::load): Add set_extra_library_path to the transfer vector. (Plugin_manager::set_extra_library_path): New. (Plugin_manager::add_input_file): Use the extra search path if set. (set_extra_library_path(): New. * plugin.h (Plugin_manager): Add set_extra_library_path and extra_search_path_. 2010-06-21 Rafael Espindola <espindola@google.com> * plugin-api.h (ld_plugin_set_extra_library_path): New. (ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH. (ld_plugin_tv): Add tv_set_extra_library_path.
2010-06-21 * dwarf2read.c (read_base_type): Handle DW_ATE_UTF.Tom Tromey2-0/+13
(dwarf_type_encoding_name): Likewise.
2010-06-21* bootstrap-lto.mk: New.Alexandre Oliva2-0/+12
2010-06-21 * p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME.Tom Tromey10-10/+37
* p-typeprint.c (pascal_type_print_base): Use TYPE_ERROR_NAME. * m2-valprint.c (m2_val_print): Use TYPE_ERROR_NAME. * gdbtypes.h (TYPE_ERROR_NAME): New macro. * f-valprint.c (f_val_print): Use TYPE_ERROR_NAME. * f-typeprint.c (f_type_print_base): Use TYPE_ERROR_NAME. * dwarf2read.c (tag_type_to_type): Create a new error type on failure. * c-valprint.c (c_val_print): Use TYPE_ERROR_NAME. * c-typeprint.c (c_type_print_base): Use TYPE_ERROR_NAME.
2010-06-212010-06-21 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+6
* breakpoint.c (_initialize_breakpoint): Use add_prefix_cmd, not add_abbrev_prefix_cmd, for "enable breakpoints".
2010-06-21 * dwarf2loc.c (find_location_expression): Add relocation offsetUlrich Weigand2-25/+45
to base-address-selection entry base addresses. Read addresses (and offsets) as signed/unsigned integers, depending on the BFD's sign_extend_vma flag. Do not call dwarf2_read_address. (loclist_describe_location): Likewise. (disassemble_dwarf_expression): Read DW_OP_addr operand as unsigned integer. Do not call dwarf2_read_address. (locexpr_describe_location): Likewise for DW_OP_GNU_push_tls_address.
2010-06-21 * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.Jakub Jelinek2-0/+6
2010-06-212010-06-21 Stan Shebs <stan@codesourcery.com>Stan Shebs6-23/+84
* gdb.texinfo: Relicense under GFDL version 1.3. * annotate.texinfo: Relicense under GFDL version 1.3. * gdbint.texinfo: Relicense under GFDL version 1.3. * stabs.texinfo: Relicense under GFDL version 1.3. * fdl.texi: Update to version 1.3.
2010-06-21* doc/as.texinfo (Overview): Use @itemx for grouped @tableAndreas Schwab11-45/+61
items. * doc/c-alpha.texi (Alpha Options): Likewise. * doc/c-arm.texi (ARM Directives): Likewise. * doc/c-bfin.texi (Blackfin Options): Likewise. * doc/c-d10v.texi (D10V-Opts): Likewise. * doc/c-i386.texi (i386-Options): Likewise. * doc/c-ia64.texi (IA-64 Options): Likewise. * doc/c-m68k.texi (M68K-Opts): Likewise. * doc/c-tic54x.texi (TIC54X-Directives): Likewise. * doc/internals.texi (Symbols): Likewise.
2010-06-21 PR gas/11733Alan Modra2-2/+7
* config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
2010-06-21daily updateAlan Modra1-1/+1
2010-06-21*** empty log message ***gdbadmin1-1/+1
2010-06-202010-06-20 Ian Lance Taylor <iant@google.com>Pedro Alves2-25/+28
Pedro Alves <pedro@codesourcery.com> * linux-x86-low.c (always_true): Delete. (EMIT_ASM, EMIT_ASM32): Use an uncondition asm jmp instead of trying to fool the compiler with always_true.
2010-06-20 * tracepoint.c (condition_true_at_tracepoint): Don't run compiledPedro Alves2-0/+21
conditions in gdbserver.
2010-06-20message.txtDanny Smith2-1/+7
2010-06-20*** empty log message ***gdbadmin1-1/+1
2010-06-20daily updateAlan Modra1-1/+1
2010-06-19 * layout.cc (gdb_sections): Add .debug_types.Cary Coutant2-0/+7
(lines_only_debug_sections): Likewise.
2010-06-19 * spu-tdep.c (spu_frame_unwind_cache): Use LSLR registerUlrich Weigand3-8/+24
value instead of hard-coded SPU_LS_SIZE. (spu_software_single_step): Likewise. * spu-tdep.h (SPU_LS_SIZE): Remove.
2010-06-19ChangeLog:Ulrich Weigand10-32/+251
* spu-multiarch.c (spu_xfer_partial): Wrap around local store limit on local store memory accesses. * spu-linux-nat.c (spu_xfer_partial): Likewise. * spu-tdep.c (spu_lslr): Remove. (spu_pointer_to_address): Do not truncate addresses. (spu_integer_to_address): Likewise. (spu_overlay_new_objfile): Use SPU_OVERLAY_LMA. * spu-tdep.h: Add comments. (SPUADDR_SPU): Respect SPU_OVERLAY_LMA bit. (SPU_OVERLAY_LMA): Define. gdbserver/ChangeLog: * spu-low.c (spu_read_memory): Wrap around local store limit. (spu_write_memory): Likewise. testsuite/ChangeLog: * gdb.arch/spu-ls.exp: New file. * gdb.arch/spu-ls.c: Likewise.
2010-06-19*** empty log message ***gdbadmin1-1/+1
2010-06-19daily updateAlan Modra1-1/+1
2010-06-182010-06-18 Stan Shebs <stan@codesourcery.com>Stan Shebs5-5/+64
* osdata.c (get_osdata): Warn separately if target does not report type list. (info_osdata_command): Allow empty type, report error if target does not return available types of OS data. * linux-nat.c (linux_nat_xfer_osdata): Report list of OS data types if no annex supplied. * gdb.texinfo (Operating System Auxiliary Information): Describe "info os" when no arguments given.
2010-06-18gas:Joseph Myers10-0/+74
* config/tc-tic6x.h (tic6x_segment_info_type): Add field func_units_used. * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used. (md_assemble): Clear func_units_used for new execute packet. Check for duplicate functional units and update func_units_used for instructions using a functional unit. gas/testsuite: * gas/tic6x/resource-func-unit-1.d, gas/tic6x/resource-func-unit-1.l, gas/tic6x/resource-func-unit-1.s, gas/tic6x/resource-func-unit-2.d, gas/tic6x/resource-func-unit-2.l, gas/tic6x/resource-func-unit-2.s: New.