aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-09-02Add test for -file-list-exec-source-filesJoel Brobecker3-0/+102
gdb/testsuite/ChangeLog: * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
2010-09-02gdb/Jan Kratochvil2-0/+6
* iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END.
2010-09-02gdb/Jan Kratochvil2-4/+13
* Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT): Convert it to the no- form. (monitor.o): Replace $(INTERNAL_WARN_CFLAGS) by $(INTERNAL_CFLAGS) and add $(GDB_WARN_CFLAGS_NO_FORMAT). (printcmd.o): Replace $(INTERNAL_CFLAGS_BASE) by $(INTERNAL_CFLAGS).
2010-09-022010-09-02 Yao Qi <yao@codesourcery.com>Yao Qi2-1/+6
* linux-nat.c (status_to_str): Use WTERMSIG to extract the signal number from a WIFSIGNALED status.
2010-09-02*** empty log message ***gdbadmin1-1/+1
2010-09-02daily updateAlan Modra1-1/+1
2010-09-01 * symtab.h (lookup_type_symbol): Declare.Tom Tromey7-49/+241
* symtab.c (lookup_symbol_in_language_full): Rename from lookup_symbol_in_language. Add 'for_type' argument. (lookup_symbol_in_language): New function. (lookup_type_symbol): Likewise. (lookup_symbol_aux): Add 'for_type' argument. (match_symbol_aux): New function. (lookup_symbol_aux_symtabs): Use expand_one_symtab_matching. (match_transparent_type): New function. (basic_lookup_transparent_type): Use expand_one_symtab_matching. * symfile.h (struct quick_symbol_functions) <pre_expand_symtabs_matching>: Remove. <expand_one_symtab_matching>: New field. * psymtab.c (expand_one_symtab_matching_psymtabs): New function. (pre_expand_symtabs_matching_psymtabs): Remove. (psym_functions): Update. * gdbtypes.c (lookup_typename): Use lookup_type_symbol. * dwarf2read.c (dw2_lookup_symbol): Update comment. (dw2_pre_expand_symtabs_matching): Remove. (dw2_expand_one_symtab_matching): New function. (dwarf2_gdb_index_functions): Update.
2010-09-01[NEWS] powerpc-lynxos gdbserver supportJoel Brobecker2-0/+8
This adds an entry in the NEWS file announcing the GDBserver support on powerpc-lynxos. gdb/ChangeLog: * NEWS: Add entry announcing GDBserver support on powerpc-lynxos.
2010-09-01 * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'Marc Khouzam4-0/+16
as a feature reported by -list-target-features. * gdb.texinfo (GDB/MI Miscellaneous Commands): Document new feature `reverse' output by -list-target-features.
2010-09-01gdbserver support for powerpc-lynxos (4.x)Joel Brobecker8-0/+1070
This patch adds support for powerpc-lynxos. gdbserver/ChangeLog: * gdbserver/lynx-low.c, gdbserver/lynx-low.h, gdbserver/lynx-ppc-low.c: New files. * Makefile.in (lynx_low_h): New variable. (lynx-low.o, lynx-ppc-low.o): New rules. * configure.ac: On LynxOS, link with -lnetinet. * configure.srv: Add handling of powerpc-*-lynxos* targets. * configure: regenerate.
2010-09-01Import vsnprintf from libiberty if not available.Joel Brobecker6-6/+65
vasprintf and vsnprintf are not available on LynxOS, at least not on version 4.0.0. This patch updates the configury to import them from libiberty if not available out of the box. gdbserver/ * Makefile.in (vasprintf.o, vsnprintf.o): New rules. * configure.ac: Add check for vasprintf and vsnprintf. * configure, config.in: Regenerate. * server.h (vasprintf, vsnprintf): Add conditional declarations.
2010-09-01Generate regformats/rs6000/powerpc-32.datJoel Brobecker4-1/+87
I will need this description for the ppc-lynxos debugger where, AFAICT, we only have access to the core GP and FP registers. So this adds powerpc-32 to the list of targets for which a .dat file needs to be generated. 2010-04-30 Joel Brobecker <brobecker@adacore.com> * features/Makefile (WHICH): Add rs6000/powerpc-32. (powerpc-32.o, powerpc-32.c): New rules. (clean): Also remove powerpc-32.c. * regformats/rs6000/powerpc-32.dat: Generate.
2010-09-01[gdbserver] Move malloc.h include to server.h.gdbadmin8-16/+16
This patch moves all includes of malloc.h, which were introduced purely to get access to alloca's declaration, to server.h, next to the include of alloca.h. There is one exception: gdbreplay.c, which does not include server.h. In this case, the include of alloca.h was simply moved up a bit, next to the include of malloc.h. gdb/gdbserver/ChangeLog: * gdbreplay.c: Move include of alloca.h up, next to include of malloc.h. * server.h: Add include of malloc.h. * mem-break.c: Remove include of malloc.h. * server.c, tracepoint.c, utils.c, win32-low.c: Likewise.
2010-09-01Put ChangeLog entries in the right ChangeLog file.gdbadmin2-18/+18
2010-09-01 * netbsd-core.c (netbsd_core_core_file_pid): Renamed to ...Pedro Alves2-1/+6
(netbsd_core_file_pid): ... this.
2010-09-01Fix typoNick Clifton2-2/+2
2010-09-01 * ld-scripts/section-match.exp: New file. Runs thsNick Clifton5-0/+67
section-match-1 test. * ld-scripts/section-match-1.d: New file. * ld-scripts/section-match-1.s: New file. * ld-scripts/section-match-1.t: New file.
2010-09-012010-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+7
* coffcode.h (coff_slurp_line_table): Add a cast. (coff_slurp_reloc_table): Ditto.
2010-09-01Compile memmem.o without -Werror.gdbadmin2-2/+13
This reproduces the same approach as in GDB to allow us to build specific files without -Werror. gdb/gdbserver/ChangeLog: * Makefile.in (INTERNAL_CFLAGS_BASE): New variable. Extracted from INTERNAL_CFLAGS. (INTERNAL_WARN_CFLAGS): New variable. (INTERNAL_CFLAGS): Adjust, using INTERNAL_WARN_CFLAGS.
2010-09-01use xsnprintf instead of snprintf.gdbadmin8-17/+26
snprintf is not available on LynxOS, so I changed the calls to snprintf to calls to xsnprintf, which should be strictly equivalent. gdb/gdbserver/ChangeLog: * utils.c (xsnprintf): Make non-static. * server.h: Add xsnprintf declaration. * linux-low.c, nto-low.c, target.c, thread-db.c, tracepoint.c: replace calls to snprintf by calls to xsnprintf throughout.
2010-09-01include alloca.h if available.gdbadmin6-1/+229
On LynxOS, alloca is defined in allocal.h. This fixes one warning that occurs when building GDBserver for LynxOS. gdb/gdbserver/ChangeLog: * configure.ac: Add configure check for alloca. * configure, config.in: Regenerate. * server.h: Include alloca.h if it exists. * gdbreplay.c: Include alloca.h if it exists.
2010-09-01*** empty log message ***gdbadmin1-1/+1