aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-082010-09-08 Doug Kwan <dougkwan@google.com>Doug Kwan19-166/+1040
* arm.cc (Arm_exidx_cantunwind::do_print_to_mapfile): New method. (Arm_relobj::do_relocate_sections): Add new parameter for output file to match the parent. (Target_arm::scan_reloc_section_for_stubs): Use would-be final values of local symbols instead of input values. Update code to track changes in gold::relocate_section. * object.cc (Sized_relobj::compute_final_local_value): New methods. (Sized_relobj::compute_final_local_value_internal): New methods. (Sized_relobj::do_finalize_local_symbols): Move code from loop body into private version of Sized_relobj::compute_final_local_value. Call the inline method. * object.h (Symbol_value::Symbol_value): Define destructor. Free merged symbol value if there is one. (Symbol_value::has_output_value): New method defintiion. (Sized_relobj::Compute_final_local_value_status): New enum type. (Sized_relobj::compute_final_local_value): New methods. (Sized_relobj::compute_final_local_value_internal): New methods. * Makefile.am (check_SCRIPTS): Add arm_branch_out_of_range.sh and arm_cortex_a8.sh. (thumb_bl_out_of_range_local, arm_cortex_a8_b_cond, arm_cortex_a8_bl, arm_cortex_a8_blx, arm_cortex_a8_local, arm_corte_a8_local_reloc): New tests. * Makefile.in: Regenerate. * testsuite/arm_bl_out_of_range.s: Update test. * testsuite/thumb_bl_out_of_range.s: Ditto. * testsuite/thumb_blx_out_of_range.s: Ditto. * testsuite/arm_branch_out_of_range.sh: New file. * testsuite/arm_cortex_a8.sh: Ditto. * testsuite/arm_cortex_a8_b.s: Ditto. * testsuite/arm_cortex_a8_b_cond.s: Ditto. * testsuite/arm_cortex_a8_b_local.s: Ditto. * testsuite/arm_cortex_a8_bl.s: Ditto. * testsuite/arm_cortex_a8_blx.s: Ditto. * testsuite/arm_cortex_a8_local.s: Ditto. * testsuite/arm_cortex_a8_local_reloc.s: Ditto. * testsuite/thumb_bl_out_of_range_local.s: Ditto.
2010-09-08 * gdb.cp/templates.exp (test_template_args): Allow "struct".Daniel Jacobowitz2-2/+6
2010-09-08 * dwarf2read.c (dwarf2_compute_name): Check that the firstDaniel Jacobowitz2-0/+11
argument is a pointer.
2010-09-08 * dwarf2read.c (read_func_scope, read_structure_type)Daniel Jacobowitz2-3/+10
(read_common_block): Check for a NULL return from new_symbol.
2010-09-082010-09-08 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola3-6/+6
* Makefile.am (memory_test.stdout): Run readelf with -W * Makefile.in: Regenerate. * testsuite/memory_test.sh: Make the regexps accept both 32 and 64 bit outputs.
2010-09-082010-09-08 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola3-3/+11
* script-sections.cc (Script_sections::add_memory_region): Convert field precision to int. * script.cc (script_set_section_region, script_set_section_region): Convert field precision to int.
2010-09-08gdb/Jan Kratochvil2-0/+11
* dwarf2read.c (dwarf2_read_index): Return on no SEC_HAS_CONTENTS.
2010-09-08 gdb/Daniel Jacobowitz5-35/+71
* dwarf2read.c (read_structure_type): Move processing of fields and member functions from here... (process_structure_scope): ... to here. gdb/testsuite/ * gdb.cp/templates.cc (Empty, FunctionArg): New classes. (FunctionArg::method): New function. (empty, arg): New variables. (main): Call arg.method. * gdb.cp/templates.exp (test_template_args): New function. (do_tests): Call it.
2010-09-08 * gnu-v3-abi.c (gnuv3_print_method_ptr): Do not useDaniel Jacobowitz2-4/+8
the domain type. (gnuv3_make_method_ptr): Likewise.
2010-09-082010-09-08 Rafael Espindola <espindola@google.com>Rafael Ávila de Espíndola2-26/+48
* arm.cc (do_finalize_sections): Create the __exidx_start and __exdix_end symbols even when the section is missing.
2010-09-08 * breakpoint.c (create_breakpoint): Add missing _().Tom Tromey2-1/+5
2010-09-08 * dwarf2-frame.h (dwarf2_frame_build_info): Delete, unused.Doug Evans2-4/+4
2010-09-08 * gdb.threads/threxit-hop-specific.exp: Use "continue" insteadUlrich Weigand2-1/+6
of "next" to proceed over pthread_exit call.
2010-09-08 * config/tc-arm.c (create_neon_reg_alias): Deal with caseNathan Sidwell2-0/+14
sensitivity.
2010-09-08 * gdb.base/maint.exp: Avoid wildcards against potentially very longUlrich Weigand2-7/+16
"maint print statistics" output to prevent expect timeouts.
2010-09-08 Revert:Tom Tromey7-220/+59
2010-09-01 Tom Tromey <tromey@redhat.com> * dwarf2read.c, gdbtypes.c, psymtab.c, symfile.h, symtab.c, symtab.h: Revert earlier change.
2010-09-08 * README: Remove claim that MEMORY is not supported.Nick Clifton14-36/+706
* expression.cc (script_exp_function_origin) (script_exp_function_length): Move from here to ... * script.cc: ... here. (script_set_section_region, script_add_memory) (script_parse_memory_attr, script_include_directive): New functions. * script-sections.cc (class Memory_region): New class. (class Output_section_definition): Add set_memory_region, set_section_vma, set_section_lma and get_section_name methods. (class Script_Sections): Add add_memory_region, find_memory_region, find_memory_region_origin, find_memory_region_length and set_memory_region methods. Have set_section_addresses method walk the list of set memory regions. Extend the print methos to display memory regions. * script-sections.h: Add prototypes for new methods. Add enum for MEMORY region attributes. * yyscript.y: Add support for parsing MEMORY regions. * script-c.h: Add prototypes for new functions. * testsuite/Makefile.am: Add test of MEMORY region functionality. * testsuite/Makefile.in: Regenerate. * testsuite/memory_test.sh: New script. * testsuite/memory_test.s: New assembler source file. * testsuite/memory_test.t: New linker script.
2010-09-08 PR gas/11973Nick Clifton2-0/+8
* config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of long call instruction's displacement.
2010-09-08*** empty log message ***gdbadmin1-1/+1
2010-09-08daily updateAlan Modra1-1/+1
2010-09-07merge from gccDJ Delorie3-4/+22
2010-09-07Add missing files.H.J. Lu2-0/+13
2010-09-07 * ldwrite.c (clone_section): Call bfd_copy_private_section_data onNick Clifton7-3/+52
newly cloned section. * ld-x86-64/split-by-file.rd: New test. * ld-x86-64/split-by-file1.s: New test source code. * ld-x86-64/split-by-file2.s: New test source code. * ld-x86-64/x86-64.exp: Run the new test. * readelf.c (process_section_headers): Mention meaning of 'l' section flag for x86-64 targets.
2010-09-07Fix custom bcache hash regression.Sami Wagiaalla2-0/+12
2010-09-09 Sami Wagiaalla <swagiaal@redhat.com> * psymtab.c (add_psymbol_to_bcache): Initialize obj_section. memset psymbol.ginfo.value to 0.
2010-09-07*** empty log message ***gdbadmin1-1/+1
2010-09-07daily updateAlan Modra1-1/+1
2010-09-06 * peXXigen.c: Whitespace.Alan Modra2-58/+56
(pe_print_idata): Correct section limit calculations. Tidy array indexing. (_bfd_XX_print_ce_compressed_pdata): Don't leak memory.
2010-09-06gdb/testsuite/Jan Kratochvil5-10/+71
* gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here. * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here. * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here. * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt. Move here, negate and extend by XFAIL the "p 0x1.1" test from ... (test_float_rejected): ... here.
2010-09-06Sync bootstrap-lto.mk and dfp.m4 with gcc.H.J. Lu3-6/+22
2010-09-062010-09-06 Yao Qi <yao@codesourcery.com>Yao Qi4-14/+10
* linux-low.c (linux_kill): Remove unused variable. (linux_stabilize_threads): Likewise. * server.c (start_inferior): Likewise. (queue_stop_reply_callback): Likewise. * tracepoint.c (do_action_at_tracepoint): Likewise.
2010-09-062010-09-06 Yao Qi <yao@codesourcery.com>Yao Qi2-0/+8
* linux-low.c (maybe_move_out_of_jump_pad): Restore current_inferior on return.
2010-09-06 * infrun.c (resume): Extend comment on ignoring single-stepPedro Alves2-5/+16
requests on vfork parents waiting for a vfork-done.
2010-09-06gdb/Jan Kratochvil7-19/+45
* corelow.c (core_open): Use target_signal_from_host if CORE_GDBARCH is NULL. * fork-child.c (startup_inferior) <resume_signal>: Use enum target_signal type. * linux-nat.c (linux_nat_resume): Use target_signal_to_host before calling strsignal. Use enum target_signal type for saved_signo. (linux_handle_extended_wait) <signo>: Use enum target_signal type. (linux_nat_wait_1): Use enum target_signal type for signo. Use target_signal_to_host before calling strsignal. * remote-m32r-sdi.c (m32r_wait, m32r_detach): Replace 0 by TARGET_SIGNAL_0. gdb/gdbserver/ * target.c (mywait) <TARGET_WAITKIND_EXITED>: Fix to use INTEGER.
2010-09-06gdb/Jan Kratochvil5-81/+87
* common/signals.c (ANY): Remove. (SET): No longer use ANY. include/gdb/ * signals.def: Replace all ANY uses by SET with specific numbers. * signals.h (ANY): Remove.
2010-09-062010-09-06 Yao Qi <yao@codesourcery.com>Yao Qi2-2/+25
* infrunc(resume): When inferior is waiting_for_vfork_done, clear step and don't use displaced stepping.
2010-09-06 * Makefile.in (install-only): Replace $IPA_DEPFILES withPedro Alves2-1/+6
"$(IPA_DEPFILES)".
2010-09-06daily updateAlan Modra1-1/+1
2010-09-06*** empty log message ***gdbadmin1-1/+1
2010-09-05*** empty log message ***gdbadmin1-1/+1
2010-09-05daily updateAlan Modra1-1/+1
2010-09-04 * breakpoint.c (can_use_hardware_watchpoint): Handle the firstDaniel Jacobowitz4-7/+42
value specially. testsuite/ * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint before disabling hardware watchpoints. (test_inaccessible_watchpoint): Check that hardware watchpoints are used. Test for watchpoints on a constant address.
2010-09-04gdb/Jan Kratochvil2-130/+142
Code cleanup - split print_stop_reason. * infrun.c (enum inferior_stop_reason): Remove. (print_stop_reason): Remove by splitting into ... (print_exited_reason, print_signal_exited_reason) (print_no_history_reason, print_signal_received_reason) (print_end_stepping_range_reason): ... these new functions. Update the preceding comment. (handle_inferior_event): Change the calls to print_exited_reason, print_signal_exited_reason, print_no_history_reason, print_signal_received_reason, print_end_stepping_range_reason. (handle_step_into_function, handle_step_into_function_backward): Change the calls to print_end_stepping_range_reason.
2010-09-04*** empty log message ***gdbadmin1-1/+1
2010-09-04daily updateAlan Modra1-1/+1
2010-09-03Check flag_code instead of use_rela_relocations for 64bit.H.J. Lu5-2/+19
gas/ 2010-09-03 H.J. Lu <hongjiu.lu@intel.com> PR gas/11974 * config/tc-i386.c (i386_finalize_immediate): Check flag_code instead of use_rela_relocations for 64bit. gas/testsuite/ 2010-09-03 H.J. Lu <hongjiu.lu@intel.com> PR gas/11974 * gas/i386/immed64.s: Add more movabs tests. * gas/i386/immed64.d: Updated.
2010-09-03binutils/Jan Kratochvil8-9/+30
* dwarf.c (regname): New declaration. (decode_location_expression): Print for registers also regname output. binutils/testsuite/ * binutils-all/objdump.W: Update DW_OP_reg5 expected output. gas/testsuite/ * gas/elf/dwarf2-1.d: Update DW_OP_reg5 expected output. * gas/elf/dwarf2-2.d: Likewise. * gas/i386/dw2-compress-1.d: Likewise.
2010-09-03gdb/Jan Kratochvil8-28/+127
* breakpoint.c (save_breakpoints): Use RETURN_MASK_ALL. * cli-out.c: Include vec.h. (cli_field_fmt, cli_spaces, cli_text, cli_message, cli_flush): New variable stream, initialize it, use it. (cli_redirect): New function comment. Replace the stream and original_stream fields by the new streams field. Remove the original_stream != NULL conditional, assert error on NULL instead. (out_field_fmt, field_separator): New variable stream, initialize it, use it. (cli_out_data_ctor): Assert non-NULL stream. Replace the stream and original_stream fields by the new streams field. (cli_out_set_stream): Replace the stream field by the new streams field. * cli-out.h: Include vec.h. (ui_filep): New typedef, call DEF_VEC_P for it. (struct cli_ui_out_data): Replace the stream and original_stream fields by the new streams field. * cli/cli-logging.c (set_logging_redirect): Call ui_out_redirect with NULL first. Extend the comment. (handle_redirections): Call ui_out_redirect with output. * python/py-breakpoint.c (bppy_get_commands): Move ui_out_redirect calls outside of the TRY_CATCH block. gdb/testsuite/ * gdb.base/ui-redirect.exp: New file.
2010-09-03 * gas/cfi/cfi-i386.d: Use objdump -Wf instead of readelf.Richard Henderson4-10/+11
* gas/cfi/cfi-i386.s: Remove .type directives. * gas/cfi/reloc-pe-i386.d: Adjust test for i386.
2010-09-03libdecnumber/Andreas Krebbel7-49/+93
2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * configure.ac: Use the GCC_AC_ENABLE_DECIMAL_FLOAT macro. * Makefile.in: Add aclocal.m4 dependency to dfp.m4. * configure: Regenerate. * aclocal.m4: Regenerate. config/ 2010-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * dfp.m4: New file.
2010-09-03GDB 7.2 released.gdbadmin1-0/+4