Use hex_string instead of phex_nz for error.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f05c0d61ddae0530ca93968ae08bb5cda0c33487..3c2f5d86aee5f980d469f4f83167c9810c188b26 100644 (file)
@@ -1,3 +1,159 @@
+2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * remote.c (remote_parse_stop_reply): Use hex_string instead
+       of phex_nz for error.
+
+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.
+
+2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention xmlRegisters= in qSupported packet.
+
+       * i386-tdep.c: Include "remote.h".
+       (_initialize_i386_tdep): Call register_remote_support_xml.
+
+       * remote.c (remote_support_xml): New.
+       (register_remote_support_xml): Likewise.
+       (remote_query_supported_append): Likewise.
+       (remote_query_supported): Support remote_support_xml.
+
+       * remote.h (register_remote_support_xml): New.
+
+2010-03-29  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (trace_find_line_command): Remove dead code.
+
+       * tracepoint.h (struct uploaded_string): New struct.
+       (struct uploaded_tp): New fields for source strings.
+       * breakpoint.c (this_utp, next_cmd): New globals.
+       (read_uploaded_action): New function.
+       (create_tracepoint_from_upload): Fill in more parts
+       of a tracepoint.
+       * tracepoint.c (encode_source_string): New function.
+       (trace_save): Write out source strings, fix error checks.
+       (parse_tracepoint_definition): Add source string parsing.
+       * remote.c (PACKET_TracepointSource): New packet type.
+       (remote_download_command_source): New function.
+       (remote_download_tracepoint): Download source pieces also.
+       (_initialize_remote): Add packet config command.
+
+       * tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to
+       expression handler.
+
+       * tracepoint.c (start_tracing): Check tracepoints before sending
+       commands to target, don't start if all tracepoints disabled.
+
 2010-03-28  Pedro Alves  <pedro@codesourcery.com>
 
        * cli/cli-script.c (process_next_line): Handle 'stepping'.
        (gnu_v3_print_method_ptr): Use the physname for virtual methods
        without a demangled name.
        Print out type information for non-virtual methods.
-        * linespec.c (decode_line_1): Force ANY string using "::" (or
+       * linespec.c (decode_line_1): Force ANY string using "::" (or
        "." for java) to use decode_compound, and clean up any stray quoting.
-        If we found a file symtab, re-evaluate whether the remainder is_quoted.
-        (decode_compound): Stop consuming at an open parenthesis.
-        Keep template parameters.
-        Keep any overload information.
-        Keep keywords like "const".
-        Remove paren_pointer.
-        Move is_quoted check from set_flags to here.
-        Remove #if 0 code from 2000. Ten years is long enough.
-        (find_method): Before comparing symbol names, canonicalize the string
-        from the user.
-        If a specific overload is requested, find it. Otherwise throw an error.
+       If we found a file symtab, re-evaluate whether the remainder is_quoted.
+       (decode_compound): Stop consuming at an open parenthesis.
+       Keep template parameters.
+       Keep any overload information.
+       Keep keywords like "const".
+       Remove paren_pointer.
+       Move is_quoted check from set_flags to here.
+       Remove #if 0 code from 2000. Ten years is long enough.
+       (find_method): Before comparing symbol names, canonicalize the string
+       from the user.
+       If a specific overload is requested, find it. Otherwise throw an error.
        (find_method_overload_end): New function.
        (set_flags): Remove.
-        (decode_compound): Assume that parentheses are matched.
-        It's a lot easier.
+       (decode_compound): Assume that parentheses are matched.
+       It's a lot easier.
        * symtab.c (symbol_find_demangled_name): Add DMGL_VERBOSE flag
        to cplus_demangle.
        * linespec.c (decode_line_1): Keep important keywords like
 2010-03-07  Joel Brobecker  <brobecker@adacore.com>
 
        * remote.c (remote_get_ada_task_ptid): New function.
-        (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
+       (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
 
 2010-03-06  Christopher Faylor  <me+cygwin@cgf.cx>
 
        address as UnsignedLongLong, not LongLong.
 
 2010-03-05  Kevin Buettner  <kevinb@redhat.com>
-            Pedro Alves  <pedro@codesourcery.com>
+           Pedro Alves  <pedro@codesourcery.com>
 
        * remote-mips.c (gdbthread.h): Include.
        (remote_mips_ptid): Declare.
        GDB's gdbarch_addr_bit as size of values on the DWARF stack.
 
 2010-02-26  Phil Muldoon  <pmuldoon@redhat.com>
-            Tom Tromey  <tromey@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
 
        * python/py-type.c (typy_lookup_typename): Add in block argument.
        If provided restrict lookup to specified blocks.
@@ -2648,8 +2804,8 @@ Mon Feb  8 13:17:10 2010  Chris Moller  <moller@mollerware.com>
 
 2010-01-25  gingold  <gingold@adacore.com>
 
-        * windows-nat.c (windows_continue): Use %x to print thread id.
-        (get_windows_debug_event): Ditto.
+       * windows-nat.c (windows_continue): Use %x to print thread id.
+       (get_windows_debug_event): Ditto.
 
 2010-01-22  Tom Tromey  <tromey@redhat.com>
 
@@ -3680,7 +3836,7 @@ Mon Feb  8 13:17:10 2010  Chris Moller  <moller@mollerware.com>
 
 2010-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
 
-        * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
+       * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
        and s390x-linux64.
        (s390-linux32-expedite): Define.
        (s390-linux64-expedite): Define.
This page took 0.028206 seconds and 4 git commands to generate.