aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2011-03-152011-03-15 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-3/+6
* lib/gdb.exp (gdb_unload): Add another termination case.
2011-03-15 Remove trailing spaces and tabulations from pascal languagePierre Muller5-52/+62
support sources. p-exp.y: Ditto. p-lang.c: Ditto. p-lang.h: Ditto. p-valprint.c: Ditto.
2011-03-15gdb/Jan Kratochvil6-20/+187
* dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher than LOW. Comment it. (read_partial_die): Call complaint for inappropriate zero LOWPC or HIGHPC not strictly higher than LOWPC. gdb/testsuite/ * gdb.dwarf2/dw2-empty-pc-range.S: New file. * gdb.dwarf2/dw2-empty-pc-range.exp: New file. * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end. Provide a stub byte there. (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and DW_AT_entry_pc. (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2011-03-15 Fix formatting of function declarations returning a pointer inPierre Muller4-5/+13
previous commit. * varobj.c (varobj_add_child): Ditto. * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. * inferior.h (get_displaced_step_closure_by_addr): Ditto.
2011-03-15gdb/Ulrich Weigand4-16/+82
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support for the "generic" vector ABI used with GCC 4.3 and later. (ppc64_sysv_abi_return_value): Likewise. gdb/testsuite: * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when using a GCC 4.1 or 4.2 compiler. Add an additional test variant "generic ABI, auto". (altivec_abi_tests): Accept vectors returned by reference.
2011-03-15 * infcall.c (call_function_by_hand): Function return value isUlrich Weigand2-8/+13
always a non_lval, even when using struct_return.
2011-03-15 gdb/Pedro Alves4-71/+112
* printcmd.c (ALL_DISPLAYS_SAFE): New. (map_display_numbers): New. (do_delete_display): New. (undisplay_command): Use map_display_numbers. (do_enable_disable_display): New. (enable_disable_display_command): New function. (enable_display): Delete. (enable_display_command): New. (disable_display_command): Reimplement. (_initialize_printcmd): Adjust "enable display" command to use `enable_display_command' as callback. gdb/doc/ * gdb.texinfo (Auto Display) <undisplay, enable display, disable display>: Explain that the commands accept number ranges.
2011-03-15*** empty log message ***gdbadmin1-1/+1
2011-03-142011-03-14 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-0/+8
* NEWS: Add Python breakpoint 'stop' operation.
2011-03-14Fix earlier changelog errors.Michael Snyder2-12/+15
2011-03-142011-03-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2-1/+11
* gdbserver/hostio.c (handle_close): Remove unnecessary null test.
2011-03-142011-03-14 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon2-9/+5
* NEWS: Delete duplicate entry. Fix typo.
2011-03-14 Fix ARI warning about function names in first column.Pierre Muller9-26/+33
Put prototype declaration on same line as return type. * objc-exp.y: Ditto. * p-exp.y: Ditto. * python/py-stopevent.h: Ditto. For long function names, split parameters to allow function name on same line as return type. * solib-pa64.c: Ditto. * varobj.c: Ditto. * varobj.h: Ditto. For long function declaration, use single line. * hppa-tdep.h: Ditto. * inferior.h: Ditto.
2011-03-142011-03-14 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon9-20/+312
* gdb.texinfo (Breakpoints In Python): Add description and example of Python stop function operation. 2010-03-14 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-breakpoint.exp: Add Python stop operations tests. 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> * python/python.h: Declare gdbpy_should_stop and gdbpy_breakpoint_has_py_cond. * python/python.c: Add python.h to includes. Remove python.h from HAVE_PYTHON definition (gdbpy_should_stop): New dummy function. (gdbpy_breakpoint_has_py_cond): New dummy function. * python/py-breakpoint.c (bppy_init): Rewrite to allow sub-classing capabilities. (gdbpy_should_stop): New function. (gdbpy_breakpoint_has_py_cond): New function. (local_setattro): New function. * breakpoint.c (condition_command): Add check for Python 'stop' operation. (bpstat_check_breakpoint_conditions): Execute Python 'stop' operation function as part of stop/continue tests.
2011-03-14 PR gdb/12576:Tom Tromey2-4/+10
* dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. (needs_frame_dwarf_call): Likewise.
2011-03-14 Fix ARI warning about functions without parameters that do notPierre Muller11-16/+37
use (void). * breakpoint.c (all_tracepoints): Replace () by (void). * f-exp.y (match_string_literal): Ditto. (yylex): Ditto. * m2-exp.y (yylex): Ditto. * mep-tdep.c (current_me_module): Ditto. (current_options): Ditto. (current_cop_data_bus_width): Ditto. (current_cr_names): Ditto. (current_cr_is_float): Ditto. (current_ccr_names): Ditto. * objc-exp.y (yylex): Ditto. * p-exp.y (yylex): Ditto. * remote.c (send_interrupt_sequence): Ditto. * tracepoint.c (current_trace_status): Ditto. * python/py-evts.c (gdbpy_initialize_py_events): Ditto. * python/py-prettyprint.c (push_dummy_python_frame): Ditto.
2011-03-14*** empty log message ***gdbadmin1-1/+1
2011-03-13 * gdb.python/py-section-script.exp: Skip test if no Python support.Ulrich Weigand2-4/+11
2011-03-13 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.Ulrich Weigand2-1/+5
2011-03-13*** empty log message ***gdbadmin1-1/+1
2011-03-122011-03-11 Michael Snyder <msnyder@vmware.com>Michael Snyder5-8/+16
* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
2011-03-12*** empty log message ***gdbadmin1-1/+1
2011-03-112011-03-11 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+5
* event-loop-c (delete_async_signal_handler): Assert prev_ptr. (delete_async_event_handler): Ditto.
2011-03-112011-03-11 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+6
* python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
2011-03-112011-02-27 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+4
* python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
2011-03-112011-03-11 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+6
* top.c (set_verbose): Assert showcmd was found.
2011-03-112011-03-11 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-1/+6
* xtensa-tdep.c (warning_once): Correct style issues.
2011-03-112011-03-11 Yao Qi <yao@codesourcery.com>Yao Qi2-3/+4
* arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
2011-03-11* common/aclocal.m4: Remove.Andreas Schwab2-81/+17
2011-03-112011-03-10 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-14/+12
* xtensa-tdep.c (windowing_enabled): Remove inline attribute. (xtensa_write_register, xtensa_read_register): Likewise. (xtensa_hextochar): Removed. (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code.
2011-03-11Correct bad formatting in the comments. Two spaces must follow '.'.Maxim Grigoriev1-5/+6
2011-03-112011-03-10 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-101/+222
* xtensa-tdep.c (xtensa_c0reg_t): Update comments. (xtensa_call0_frame_cache_t): Update comments. New fields added. (xtensa_alloc_frame_cache): Add initialization for new fields. (xtensa_frame_cache): Change the way how call0_frame_cache () is called. (warning_once): New function. (xtensa_insn_kind): New item c0opc_and. (call0_classify_opcode): Add the case for AND instruction. (call0_track_op): Change arguments. New local variable litbase. Add the case to handle c0opc_and. Update algorithms for c0opc_mov, c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments in prologue. Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. (call0_analyze_prologue): Update the comments. Change arguments. Add the variety of updates to handle extended prologues, which now can conduct dynamic stack adjustments. (call0_frame_cache): Likewise. (xtensa_skip_prologue): Update call0_analyze_prologue () function call. (xtensa_gdbarch_init): Initialize xtensa_session_once_reported.
2011-03-11*** empty log message ***gdbadmin1-1/+1
2011-03-10Revert previous change.Michael Snyder2-11/+8
2011-03-102011-03-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-8/+11
* p-typeprint.c (pascal_type_print_method_args): Don't use pointer until after null-check.
2011-03-102011-02-28 Michael Snyder <msnyder@vmware.com>Michael Snyder2-7/+12
* tracepoint.c (cmd_qtv): Discard unused value 'packet'. (cmd_qtframe): Ditto. (cmd_qtbuffer): Ditto. (cmd_bigqtbuffer): Ditto.
2011-03-102011-02-27 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+4
* gdbserver/tracepoint.c (tracepoint_finish_step): Fix loop variable.
2011-03-102011-03-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+7
* gdbserver/server.c (handle_v_run): Free alloced buffer on early return.
2011-03-10 * tracepoint.c (trace_actions_command): Update.Tom Tromey11-108/+224
* thread.c (thread_apply_command): Update. * reverse.c (delete_bookmark_command): Update. (bookmarks_info): Update. * printcmd.c (undisplay_command): Update. * memattr.c (mem_enable_command): Update. (mem_disable_command): Update. (mem_delete_command): Update. * inferior.c (detach_inferior_command): Update. (kill_inferior_command): Update. (remove_inferior_command): Update. * cli/cli-utils.h (struct get_number_or_range_state): New. (init_number_or_range): Declare. (get_number_or_range): Update. * cli/cli-utils.c (init_number_or_range): New function. (get_number_or_range): Change 'pp' parameter to 'state'. Remove static variables. (number_is_in_list): Update. * breakpoint.h (get_tracepoint_by_number): Update. * breakpoint.c (map_breakpoint_numbers): Update for change to get_number_or_range. (find_location_by_number): Use get_number, not get_number_or_range. (trace_pass_set_count): New function. (trace_pass_command): Update for change to get_number_or_range. Rework loop logic. (get_tracepoint_by_number): Remove 'multi_p' parameter; add 'state' parameter.
2011-03-102011-03-10 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon6-81/+339
* python/py-param.c (add_setshow_generic): Add set/show callback parameters. Register Python object context. (get_show_value): New function. (get_set_value): New function. (call_doc_function): New function. (get_doc_string): Move behind get_show_value/get_set_value. 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Parameters In Python): Document get_set_string and get_show_string methods. 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> * gdb.python/py-parameter.exp: Update tests to the new Python parameter API. Add "no documentation" test. Add deprecated API backward compatibility test.
2011-03-10gdb/Jan Kratochvil2-1/+5
* fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
2011-03-10remove subdir_do recursive make command in gdbserver/Makefile.inJoel Brobecker2-1/+5
This fixes: % [...]/gdbserver/configure % make distclean [...] rm -f amd64-avx.c amd64-avx-linux.c rm -f i386-mmx.c i386-mmx-linux.c make[1]: Entering directory `/[...]' make[1]: *** No rule to make target `subdir_do'. Stop. make[1]: Leaving directory `[...]' make: *** [distclean] Error 2 gdb/gdbserver/ChangeLog: * Makefile.in (maintainer-clean realclean distclean): Remove "make ... subdir_do" command.
2011-03-102011-03-09 Maxim Grigoriev <maxim2405@gmail.com>Maxim Grigoriev2-11/+28
* xtensa-tdep.c (xtensa_read_register: Add comment. (xtensa_write_register): Likewise. (xtensa_hextochar): Add comment and update to match coding conventions. (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. (execute_l32e, execute_s32e, execute_code): Update comments. (xtensa_exception_handler_t): Update to match coding conventions. (xtensa_insn_kind): Likewise.
2011-03-10*** empty log message ***gdbadmin1-1/+1
2011-03-092011-03-09 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+8
* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
2011-03-09 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather thanTom Tromey2-1/+8
gdb_continue_to_end.
2011-03-09* gdb.base/memattr.exp: Adjust regexps to accept spaces as well asMark Kettenis2-40/+45
tabs.
2011-03-092011-03-09 Michael Snyder <msnyder@vmware.com>Michael Snyder1-1/+1
* gdbserver/tracepoint.c: Fix small comment typo.
2011-03-09 gdb/Pedro Alves2-1/+6
* nto-tdep.c (nto_find_and_open_solib): Constify local `base'.
2011-03-09 * thread.c (restore_selected_frame): Handle frame_level == -1.Tom Tromey4-1/+34
(make_cleanup_restore_current_thread): Use get_selected_frame_if_set. * frame.h (get_selected_frame_if_set): Declare. * frame.c (get_selected_frame_if_set): New function.