+2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix ARI warning about function names in first column.
+ 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-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 Tom Tromey <tromey@redhat.com>
+
+ PR gdb/12576:
+ * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'.
+ (needs_frame_dwarf_call): Likewise.
+
+2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix ARI warning about functions without parameters that do not
+ 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-11 Michael Snyder <msnyder@vmware.com>
+
+ * 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.
+
+ * event-loop-c (delete_async_signal_handler): Assert prev_ptr.
+ (delete_async_event_handler): Ditto.
+
+ * python/py-breakpoint.c (bppy_set_condition): Stop memory leak.
+
+ * python/py-breakpoint.c (bppy_get_commands): Fix memory leak.
+
+ * top.c (set_verbose): Assert showcmd was found.
+
+2011-03-11 Maxim Grigoriev <maxim2405@gmail.com>
+
+ * xtensa-tdep.c (warning_once): Correct style issues.
+
+2011-03-11 Yao Qi <yao@codesourcery.com>
+
+ * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements.
+
+2011-03-11 Andreas Schwab <schwab@redhat.com>
+
+ * common/aclocal.m4: Remove.
+
+2011-03-10 Maxim Grigoriev <maxim2405@gmail.com>
+
+ * 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-10 Maxim Grigoriev <maxim2405@gmail.com>
+
+ * 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 the 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-10 Michael Snyder <msnyder@vmware.com>
+
+ * tracepoint.c (cmd_qtv): Discard unused value 'packet'.
+ (cmd_qtframe): Ditto.
+ (cmd_qtbuffer): Ditto.
+ (cmd_bigqtbuffer): Ditto.
+
+ * gdbserver/tracepoint.c (tracepoint_finish_step): Fix
+ loop variable.
+
+ * gdbserver/server.c (handle_v_run): Free alloced buffer on early
+ return.
+
+2011-03-10 Tom Tromey <tromey@redhat.com>
+
+ * tracepoint.c (trace_actions_command): Update.
+ * 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-10 Phil Muldoon <pmuldoon@redhat.com>
+
+ * 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 Andreas Tobler <andreast-list@fgznet.ch>
+
+ * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'.
+
+2011-03-09 Maxim Grigoriev <maxim2405@gmail.com>
+
+ * 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-09 Michael Snyder <msnyder@vmware.com>
* mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak.
* mdebugread.c (parse_partial_symbols): Fix indent.
- * gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
+ * gdbserver/linux-arm-low.c (arm_arch_setup): Replace malloc
with xmalloc.
* target-descriptions.c (tdesc_gdb_type): No need to call
* utils.c (parse_escape): Escape the escape char.
- * python/py-inferior.c (build_inferior_list): Error out if
+ * python/py-inferior.c (build_inferior_list): Error out if
PyList_Append fails.
(gdbpy_inferiors): Error out if build_inferior_list fails.
* coffread.c (coff_getfilename): Add check to avoid overflow.
- * objc-lang.c (selectors_info): Add a small safety margin to
+ * objc-lang.c (selectors_info): Add a small safety margin to
avoid overflow.
(classes_info): Error out on too long REGEXP.
* tui/tui-stack.c (tui_get_function_from_frame): Fix off by one
error in strncpy.
- * symtab.c (rbreak_command): Move variable 'file_name' to
+ * symtab.c (rbreak_command): Move variable 'file_name' to
outer scope.
* d-valprint.c (dynamic_array_type): Avoid shadowing a function
* breakpoint.c (breakpoint_1): Change first argument from an int
to a char pointer, so that the function now accepts a list of
- breakpoints rather than just one. Use new function
+ breakpoints rather than just one. Use new function
'number_is_in_list' to implement.
(breakpoints_info): Pass char * instead of int to breakpoint_1.
(watchpoints_info): Ditto.
(info_threads_command): Pass char* to print_thread_info.
* cli/cli-utils.c (number_is_in_list): New function.
* cli/cli-utils.h (number_is_in_list): Export.
- * mi/mi-main.c (mi_cmd_thread_info): Pass char* to
+ * mi/mi-main.c (mi_cmd_thread_info): Pass char* to
print_thread_info.
(print_one_inferior): Ditto.
(mi_cmd_list_thread_groups): Ditto.
2011-02-18 Michael Snyder <msnyder@vmware.com>
- * thread.c (info_threads_command): Re-implement using
+ * thread.c (info_threads_command): Re-implement using
get_number_or_range.
(thread_apply_command): Ditto.
(DEFAULT_HPUX_MAJOR_RELEASE): New macro.
(hpux_major_release): Make global, change default value to
DEFAULT_HPUX_MAJOR_RELEASE.
- (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
+ (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
* hppa-hpux-nat.c: Add <sys/utsname.h> include.
Add "solib-som.h" header.
(set_hpux_major_release): New function.
Make value allocations more lazy.
* ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
instead of allocate_value and set_value_lazy when possible.
- * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
instead of allocate_value and set_value_lazy.
* findvar.c (value_of_register_lazy): Likewise.
(read_var_value): Remove V preallocation, call just check_typedef in
- advance. Move allocate_value to LOC_CONST, LOC_LABEL,
+ advance. Move allocate_value to LOC_CONST, LOC_LABEL,
LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
Thiago Jung Bauermann <bauerman@br.ibm.com>
Implement support for PowerPC BookE ranged watchpoints.
- * breakpoint.h
+ * breakpoint.h
(struct breakpoint_ops) <resources_needed>: New method.
Initialize to NULL in all existing breakpoint_ops instances.
(struct breakpoint) <exact>: New field.
<insert_location>: ... this. Return int instead of void.
Accept pointer to struct bp_location instead of pointer to
struct breakpoint. Adapt all implementations.
- (breakpoint_ops) <remove>: Rename to...
+ (breakpoint_ops) <remove>: Rename to...
<remove_location>: ... this. Accept pointer to struct bp_location
instead of pointer to struct breakpoint. Adapt all implementations.
* breakpoint.c (insert_catchpoint): Delete function.
* mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
for i18n.
- * tui/tui-layout.c (tui_set_layout_for_display_command):
+ * tui/tui-layout.c (tui_set_layout_for_display_command):
Split line so that operator goes to beginning of line.
* tui/tui-winsource.c (tui_horizontal_source_scroll): Move
assignment out of if statement.