aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-07-06 * incremental.cc (Sized_incremental_binary::setup_readers): PassCary Coutant6-14/+142
input file index to Script_info ctor. (Sized_incremental_binary::do_file_has_changed): Find the command-line argument for files named in scripts. * incremental.h (Script_info::Script_info): New ctor with input file index. (Script_info::input_file_index): New function. (Script_info::input_file_index_): New data member. (Incremental_binary::get_library): Add const. (Incremental_binary::get_script_info): Add const. * readsyms.cc (Read_member::is_runnable): Check for this_blocker_. * testsuite/Makefile.am (incremental_test_5): New test case. (incremental_test_6): New test case. * testsuite/Makefile.in: Regenerate.
2011-07-06Fix JIT clang-lli regression (unable to read JIT descriptor from memory)Joel Brobecker6-1/+165
2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com> * jit.c (jit_inferior_init): Forward declare. (jit_breakpoint_re_set_internal): Call jit_inferior_init. testsuite/ChangeLog: 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com> * gdb.base/jit-so.exp: New test. * gdb.base/jit-dlmain.c: New file. * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2011-07-06 * incremental.cc (Sized_incremental_binary::do_check_inputs): AddCary Coutant2-0/+11
debug output when command lines differ.
2011-07-06 * incremental.cc (Incremental_inputs::report_command_line): IgnoreCary Coutant12-43/+176
--incremental-patch option. * layout.cc (Free_list::allocate): Extend allocation beyond original end if enabled. (Layout::make_output_section): Mark sections that should get patch space. * options.cc (parse_percent): New function. * options.h (parse_percent): New function. (DEFINE_percent): New macro. (General_options): Add --incremental-patch option. * output.cc (Output_section::Output_section): Initialize new data members. (Output_section::add_input_section): Print section name when out of patch space. (Output_section::add_output_section_data): Likewise. (Output_section::set_final_data_size): Add patch space when doing --incremental-full. (Output_section::do_reset_address_and_file_offset): Remove patch space. (Output_segment::set_section_list_addresses): Print debug output only if --incremental-update. * output.h (Output_section::set_is_patch_space_allowed): New function. (Output_section::is_patch_space_allowed_): New data member. (Output_section::patch_space_): New data member. * parameters.cc (Parameters::incremental_full): New function. * parameters.h (Parameters::incremental_full): New function * testsuite/Makefile.am (incremental_test_2): Add test for --incremental-patch option. * testsuite/Makefile.in: Regenerate. * testsuite/two_file_test_1_v1.cc (t1, t2, t3): Add comments. (t18): Remove function body.
2011-07-06gdb.python/py-evthreads.exp: add missing $Marek Polacek2-1/+5
2011-07-06gdb: testsuite: add Blackfin supportMike Frysinger4-0/+55
This fills out a few of the test places where needed for Blackfin targets. Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-07-06gas/Richard Sandiford2-3/+4
2011-07-04 Aurelien Jarno <aurelien@aurel32.net> * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2.
2011-07-062011-07-05 Doug Kwan <dougkwan@google.com>Doug Kwan6-29/+166
PR gold/12771 * arm.cc (Arm_relocate_functions::abs8): Use int32_t for addend and Arm_Address type for relocation result. (Arm_relocate_functions::abs16): Use unaligned access. Also fix overflow check. (Arm_relocate_functions::abs32): Use unaligned access. (Arm_relocate_functions::rel32): Ditto. (Arm_relocate_functions::prel31): Ditto. (Arm_exidix_cantunwind::do_fixed_endian_write): Ditto. * testsuite/Makefile.am: Add new test arm_unaligned_reloc for unaligned static data relocations. * testsuite/Makefile.in: Regnerate. * testsuite/arm_unaligned_reloc.{s,sh}: New files.
2011-07-06Fix race in gdb.python/py-evthreads.expMarek Polacek2-1/+6
2011-07-06bfd/Tristan Gingold4-304/+339
2011-07-06 Tristan Gingold <gingold@adacore.com> * mach-o.h: Move loader related definitions to include/mach-o/loader.h. Include it. include/mach-o/ 2011-07-06 Tristan Gingold <gingold@adacore.com> * loader.h: New file.
2011-07-06 PR gold/12392Ian Lance Taylor3-0/+87
* i386.cc (Target_i386::do_finalize_sections): Define __rel_iplt symbols if necessary. * x86_64.cc (Target_x86_64::do_finalize_sections): Likewise.
2011-07-06 PR gold/12952Ian Lance Taylor2-1/+15
* resolve.cc (Symbol::override_base_with_special): Simply override version with special symbol version, ignoring previous version.
2011-07-06Correct a email error.Hui Zhu1-1/+1
2011-07-062011-07-06 Hui Zhu <teawater@gmail.com>Hui Zhu3-2/+31
* remote.c (remote_start_remote): Add TRY_CATCH for remote_get_trace_status. * tracepoint.c (disconnect_tracing): Ditto.
2011-07-06daily updateAlan Modra1-1/+1
2011-07-06*** empty log message ***gdbadmin1-1/+1
2011-07-05 * object.cc (Sized_relobj_file::include_section_group): AddIan Lance Taylor2-4/+10
information to comment about signature location.
2011-07-05 * symtab.c (operator_chars): Now static.Tom Tromey3-9/+6
* linespec.c (operator_chars): Don't declare.
2011-07-05sim: start a unified sim_do_commandMike Frysinger27-182/+91
Since sim_do_command for many people simply calls sim_args_command, start a unified version of it. For people who handle their own options, they could switch to this by using sim_add_option_table instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-07-05Always elf_backend_post_process_headers to _bfd_elf_set_osabi.H.J. Lu2-11/+5
2011-07-05 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf_backend_post_process_headers): Always define to _bfd_elf_set_osabi.
2011-07-05 * ui-out.h (ui_out_field_core_addr): Fix typo in comment.Thiago Jung Bauermann2-1/+5
2011-07-05merge from gccDJ Delorie3-7/+32
2011-07-05gdbTom Tromey7-1/+28
* gnu-v3-abi.c (gnuv3_rtti_type): Check TYPE_CPLUS_REALLY_JAVA. * gdbtypes.h (struct cplus_struct_type) <is_java>: New field. (TYPE_CPLUS_REALLY_JAVA): New macro. * dwarf2read.c (process_structure_scope): Set TYPE_CPLUS_REALLY_JAVA. gdb/testsuite * gdb.java/jprint.java (jprint.hi): New field. * gdb.java/jprint.exp: Print string.
2011-07-05gdb/Thiago Jung Bauermann20-17/+43
* ada-lang.c: Fix typos. * amd64-tdep.c: Likewise. * breakpoint.c: Likewise. * cli/cli-decode.c: Likewise. * findcmd.c: Likewise. * inline-frame.c: Likewise. * mi/mi-main.c: Likewise. * minsyms.c: Likewise. * monitor.c: Likewise. * monitor.h: Likewise. * prologue-value.c: Likewise. * reverse.c: Likewise. * s390-tdep.c: Likewise. gdb/testsuite/ * gdb.base/call-sc.c: Likewise. * gdb.base/ifelse.exp: Likewise. * gdb.base/structs.c: Likewise. gdb/doc/ * gdb.texinfo: Likewise.
2011-07-05daily updateAlan Modra1-1/+1
2011-07-05*** empty log message ***gdbadmin1-1/+1
2011-07-04 * gas/mips/loc-swap.s: Add file missing from a previous commit.Maciej W. Rozycki1-0/+48
2011-07-04gas/Richard Sandiford2-2/+9
* config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling of register 0.
2011-07-04Minor comment reformatting in generic_elf_osabi_snifferJoel Brobecker2-3/+8
Comment says it all. I just felt that putting some new text in a separate paragraph allowed us to clearly identify the section about ELFOSABI_NONE, and the part that talks about the new ELFOSABI_GNU. gdb/ChangeLog: * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting.
2011-07-04ada-tasks.c: handle known tasks maintained by a simply-linked list.Joel Brobecker3-65/+142
The mapping between Ada tasks, and the underlying threads is normally maintained by the GNAT runtime under the known_tasks array. For performance reasons, this array is just a static array with 10_000 entries in it. However, this is not very practical in certain environments where memory is limited. For those environments, the runtime has been enhanced to use an alternate scheme with a linked list. This change enhances the Ada tasking support to recognize this situation and use the correct way of reading the tasks info based on the the situation. gdb/ChangeLog (Tristan Gingold) * ada-tasks.c (KNOWN_TASKS_LIST): New macro. (tcb_fieldno): Add activation_link field. (get_known_tasks_addr): Moved and rewritten. (get_tcb_types_info): Set activation_link field. (read_known_tasks_array): Add parameter. Rewritten. (read_known_tasks_list): New function. (read_known_tasks): New function. (ada_build_task_list): Call read_known_tasks instead of read_known_tasks_array. * ravenscar-thread.c: Add first_task_name constant. (has_ravenscar_runtime): Check for task list too.
2011-07-04Minor changes in ada-tasks.cJoel Brobecker2-34/+40
Just some minor cleanup changes in preparation for an upcoming change... gdb/ChangeLog (Tristan Gingold) * ada-tasks.c: Renames fieldno to actb_fieldno. (ada_get_task_number): Indentation. (get_tcb_types_info): Remove all parameters. Write directly the globals. (ptid_from_atcb_common): Adjust. (read_atcb): Adjust.
2011-07-04 gas/Maciej W. Rozycki8-4/+224
* config/tc-mips.c (append_insn): Make sure DWARF-2 location information is properly adjusted for branches that get swapped. gas/testsuite/ * gas/mips/loc-swap.d: New test case for DWARF-2 location with branch swapping. * gas/mips/loc-swap-dis.d: Likewise. * gas/mips/mips16@loc-swap.d: Likewise, MIPS16 version. * gas/mips/mips16@loc-swap-dis.d: Likewise. * gas/mips/loc-swap.s: Source for the new tests. * gas/mips/mips.exp: Run the new tests.
2011-07-04 * symtab.c (in_prologue): Remove mention of ppc's refine_prologue_limit.Thiago Jung Bauermann2-2/+6
2011-07-04 * ui-out.c (ui_out_field_core_addr): Mention that the functionThiago Jung Bauermann3-0/+10
description is in the header file. * ui-out.h (ui_out_field_core_addr): Document function.
2011-07-04 * ui-out.c (ui_out_get_field_separator): Remove unused function.Thiago Jung Bauermann3-9/+5
* ui-out.h (ui_out_get_field_separator): Remove prototype.
2011-07-04 * symtab.c (expand_line_sal): Remove empty line.Thiago Jung Bauermann2-1/+4
2011-07-04ELFOSABI_GNU.Thomas Schwinge2-9/+10
gdb/ * osabi.c (generic_elf_osabi_sniffer) <ELFOSABI_GNU>: Handle in the same way as ELFOSABI_NONE. <ELFOSABI_LINUX, ELFOSABI_HURD>: Remove cases.
2011-07-04 * breakpoint.c: Fix typos in comments.Thiago Jung Bauermann4-18/+24
* linespec.c: Likewise. * symtab.c: Likewise.
2011-07-04Do not load .eh_frame section from separete object filesJoel Brobecker2-31/+41
We don't need to read the .eh_frame section from the separate object files, because this data is already present in the main executable (it needs to, or the program wouldn't work). We discovered this investigating a problem with the 'next' command, which was due to unwind failures, which came from the fact that the .eh_frame was incorrectly relocated. gdb/ChangeLog (Tristan Gingold): * dwarf2-frame.c (dwarf2_build_frame_info): Do not load .eh_frame section in separate object files.
2011-07-04gdb/Jan Kratochvil2-0/+8
Fix false GCC warning. * linespec.c (decode_line_1): Initialize values.
2011-07-04daily updateAlan Modra1-1/+1
2011-07-04*** empty log message ***gdbadmin1-1/+1
2011-07-03ELFOSABI_GNUThomas Schwinge6-0/+6
bfd/ * elf.c (_bfd_elf_set_osabi): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX alias. * elf32-hppa.c: Likewise. * elf32-i370.c: Likewise. * elf64-hppa.c: Likewise. binutils/ * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX alias and ELFOSABI_HURD. Add GNU alias. * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type): Likewise. * doc/binutils.texi <elfedit>: Update accordingly. elfcpp/ * elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX, keep ELFOSABI_LINUX as an alias. Remove ELFOSABI_HURD. gas/ * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX alias. * config/tc-ia64.c: Likewise. include/elf/ * common.h (ELFOSABI_GNU): Define, replaces... (ELFOSABI_LINUX): ... this, kept as an alias. (ELFOSABI_HURD): Remove. ld/testsuite/ * ld-ifunc/ifunc.exp: Update for changed output. * ld-unique/unique.exp: Likewise.
2011-07-03ELFOSABI_GNUThomas Schwinge20-47/+91
bfd/ * elf.c (_bfd_elf_set_osabi): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX alias. * elf32-hppa.c: Likewise. * elf32-i370.c: Likewise. * elf64-hppa.c: Likewise. binutils/ * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX alias and ELFOSABI_HURD. Add GNU alias. * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type): Likewise. * doc/binutils.texi <elfedit>: Update accordingly. elfcpp/ * elfcpp.h (ELFOSABI): Add ELFOSABI_GNU with value of ELFOSABI_LINUX, keep ELFOSABI_LINUX as an alias. Remove ELFOSABI_HURD. gas/ * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX alias. * config/tc-ia64.c: Likewise. include/elf/ * common.h (ELFOSABI_GNU): Define, replaces... (ELFOSABI_LINUX): ... this, kept as an alias. (ELFOSABI_HURD): Remove. ld/testsuite/ * ld-ifunc/ifunc.exp: Update for changed output. * ld-unique/unique.exp: Likewise.
2011-07-03 PR gold/12957Ian Lance Taylor4-2/+36
* options.h (class General_options): Add -f and -F. * options.cc (General_options::finalize): Fatal error if -f/-F are used without -shared. * layout.cc (Layout::finish_dynamic_section): Implement -f/-F.
2011-07-03 * dirsearch.cc (Dir_cache::read_files): Ignore ENOTDIR errors.Ian Lance Taylor2-2/+7
2011-07-03daily updateAlan Modra1-1/+1
2011-07-03*** empty log message ***gdbadmin1-1/+1
2011-07-02gdb/testsuite/Jan Kratochvil3-5/+24
* gdb.cp/m-static.exp: Call get_compiler_info. (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4. * gdb.cp/pr9167.exp (p b): Likewise. * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6. (test value of P in inner_m, test type of Z in inner_m): Call setup_xfail for gcc <= 4.5.
2011-07-02gdb/testsuite/Jan Kratochvil2-0/+16
* gdb.cp/m-static.exp: Call get_compiler_info. (static const int initialized nowhere): Call setup_xfail for gcc<=4.4.