aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2010-09-03daily updateAlan Modra1-1/+1
2010-09-03*** empty log message ***gdbadmin1-1/+1
2010-09-02Select 32-bit pei for 64-bit pei configurations.Richard Henderson4-2/+11
2010-09-02Back out the change introducing the "record pic" feature.Joel Brobecker2-609/+18
gdb/ChangeLog: Back out the following change: | 2010-06-29 Hui Zhu <teawater@gmail.com> | * record.c (set_record_pic_cmdlist, | show_record_pic_cmdlist): New variables. | (set_record_pic_command, | show_record_pic_command): New functions. | (record_pic_function, record_pic_line, record_pic_enum, | set_record_pic_type, record_pic_hide_nofunction, | record_pic_hide_nosource, record_pic_hide_same): New variables. | (record_pic_fputs): New function. | (function_list, node_list, edge_list): New struct. | (function_list, node_list, edge_list): New variables. | (record_pic_cleanups, record_pic_node, | record_pic_edge, cmd_record_pic): New functions. | (_initialize_record): Add new commands for record pic.
2010-09-02 * gas/cfi/reloc-pe-i386.d, gas/cfi/reloc-pe-i386.s: New test.Richard Henderson2-0/+15
2010-09-02 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.Richard Henderson12-27/+68
(output_fde): Use it. Make sure to fully init exp before using it. testsuite/ * gas/cfi/cfi-common-1.d: Use objdump instead of readelf to dump. * gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d, gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-6.d, gas/cfi/cfi-common-7.d, gas/cfi/cfi-x86_64.d: Likewise. * gas/cfi/cfi-x86_64.s: Remove .type directives. * gas/cfi/cfi.exp: Run for pecoff objects too. * gas/cfi/reloc-pe-i386.d, gas/cfi/reloc-pe-i386.s: New test.
2010-09-02 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.Richard Henderson4-8/+44
(init_dwarf_regnames): Use them. * dwarf.h: Declare them. * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up the regnames, rather than using elf_machine_code.
2010-09-02 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.Richard Henderson2-3/+5
2010-09-02Fix ChangeLog entries cli-logging.c -> cli/cli-logging.c .Jan Kratochvil1-2/+2
2010-09-02 * config.in, configure: Regenerated.Daniel Jacobowitz5-6/+19
* configure.ac: Check for waitpid. * ser-pipe.c (pipe_close): Wait for the program to exit.
2010-09-02gdb/Jan Kratochvil2-11/+121
* cli-logging.c: Include gdb_assert.h. (set_logging_overwrite): New function. (logging_redirect): New comment. (logging_no_redirect_file, set_logging_redirect) (pop_output_files) <logging_no_redirect_file>: New. (handle_redirections) <!logging_redirect>: New variable no_redirect_file. Remove file autoclose for tee_file_new. No longer discard cleanup for the close of former OUTPUT. Set LOGGING_NO_REDIRECT_FILE. (handle_redirections) <logging_redirect>: gdb_assert LOGGING_NO_REDIRECT_FILE. (show_logging_command) <logging_redirect handling>: Adjust messages for SAVED_FILENAME not NULL. (_initialize_cli_logging): Install set_logging_overwrite and set_logging_redirect.