2010-04-01 Stan Shebs <stan@codesourcery.com>
[binutils-gdb.git] / gdb / ChangeLog
index 17d4399d94d60ecd66714618caaf7197e3af06f2..087b57d025379b8bae4b521702a461e0a62e8da8 100644 (file)
@@ -1,3 +1,112 @@
+2010-04-01  Stan Shebs  <stan@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+
+       * tracepoint.h (enum actionline_type): Remove.
+       (validate_actionline): Change return to void.
+       * tracepoint.c (report_agent_reqs_errors): New function.
+       (validate_actionline): Call it, change return to void, report errors
+       more consistently.
+       (collect_symbol): Call report_agent_reqs_errors.
+       (encode_actions_1): Ditto.
+       (encode_actions): Don't expect a result from validate_actionline.
+
+2010-04-01  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (trace_start_command): Confirm if trace is running.
+       (trace_stop_command): Error if trace not running.
+
+2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_byte_names): Add "ah", "bh", "ch", "dh".
+       (AMD64_NUM_LOWER_BYTE_REGS): New.
+       (amd64_pseudo_register_read): Handle "ah", "bh", "ch", "dh".
+       (amd64_pseudo_register_write): Likewise.
+       (amd64_init_abi): Set num_byte_regs to 20.
+
+2010-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (multi_start, multi_end, last_was_multi): Delete.
+       (prev_breakpoint_count): New.
+       (set_breakpoint_count): Adjust.
+       (rbreak_start_breakpoint_count): New.
+       (start_rbreak_breakpoints): Adjust.
+       (end_rbreak_breakpoints): Adjust.
+       (struct commands_info) <arg>: New field.
+       (do_map_commands_command): Tweak output to include breakpoint spec
+       range.
+       (commands_command_1): Adjust.  Avoid setting an xfree cleanup if
+       ARG was empty on entry.  Set INFO's arg.
+       (create_breakpoint): Adjust.
+
+       * NEWS: Clarify `commands' changes.
+
+2010-04-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c: Include stack.h.
+       (struct add_local_symbols_data): New.
+       (do_collect_symbol): New.
+       (add_local_symbols): Rewrite using iterate_over_block_arg_vars and
+       iterate_over_block_local_vars.
+       * stack.c (print_block_frame_locals): Rewrite as ...
+       (iterate_over_block_locals): ... this.  Take a callback function
+       pointer and generic data pointer, and call that instead of
+       print_variable_and_value.
+       (struct print_variable_and_value_data): New.
+       (do_print_variable_and_value): New.
+       (iterate_over_block_local_vars): New, abstracted out from
+       print_frame_local_vars.
+       (print_frame_local_vars): Rewrite using
+       iterate_over_block_local_vars.
+       (iterate_over_block_arg_vars): New, abstracted out from
+       print_frame_arg_vars.
+       (print_frame_arg_vars): Rewrite using iterate_over_block_arg_vars.
+       * stack.h (iterate_over_block_arg_local_vars_cb): New typedef.
+       (iterate_over_block_arg_vars, iterate_over_block_local_vars): Declare.
+
+2010-03-31  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-tdep.c (thumb_get_next_pc_raw): Correctly detect TBH
+       instructions.  Use the PC+4 if the base of the TBB or TBH is the 
+       PC register.
+
+2010-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix crash on reading wrong function declaration DWARF.
+       * dwarf2read.c (read_subroutine_type): New variable void_type.
+       Pre-fill all TYPE_FIELD_TYPEs.  Move nparams and iparams initialization
+       more close to their use.
+
+2010-03-31  Stan Shebs  <stan@codesourcery.com>
+
+       * breakpoint.c (tracepoint_save_command): Include variables,
+       conditionals, tracepoint types, and default-collect.
+       * tracepoint.c (save_trace_state_variables): New function.
+       * tracepoint.h (save_trace_state_variables): Declare it.
+
+2010-03-31  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * src/gdb/remote.c (end_thread): ARI fix: Use xstrdup instead of
+       strdup.
+
+2010-03-30  Keith Seitz  <keiths@redhat.com>
+
+       * c-typeprint.c (c_type_print_args): Don't print "void"
+       for java, regardless of whether it is TYPE_PROTOTYPED.
+       Use the passed-in language instead of current_language.
+       (c_type_print_varspec_suffix): Use current_language instead
+       of assuming language_c.
+       * jv-typeprint.c (java_type_print_base): (bz 9320) Strip off
+       any return type specifier from the physname.
+
+2010-03-30  Pedro Alves  <pedro@codesourcery.com>
+
+       * tui/tui-interp.c (tui_is_toplevel): New.
+       (tui_init): Set it.
+       (tui_allowed_p): New.
+       * tui/tui.c (tui_enable): Check if the TUI is allowed before
+       enabling it.
+       * tui/tui.h (tui_allowed_p): Declare.
+
 2010-03-30  Ozkan Sezer  <sezeroz@gmail.com>
 
        * serial.h: Include winsock2.h before windows.h.