Add the gdb remote target operations for branch tracing.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index dc7e5c58ed39baab460cd0382ac977c4bfd61af1..0dc837ec2153e393f50f017730721199a0f2d90f 100644 (file)
@@ -1,3 +1,126 @@
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * target.h (enum target_object): Add TARGET_OBJECT_BTRACE.
+       * remote.c: Include btrace.h.
+       (struct btrace_target_info): New struct.
+       (remote_supports_btrace): New function.
+       (send_Qbtrace): New function.
+       (remote_enable_btrace): New function.
+       (remote_disable_btrace): New function.
+       (remote_teardown_btrace): New function.
+       (remote_read_btrace): New function.
+       (init_remote_ops): Add btrace ops.
+       (enum <unnamed>): Add btrace packets.
+       (struct protocol_feature remote_protocol_features[]): Add btrace packets.
+       (_initialize_remote): Add packet configuration for branch tracing.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * features/btrace.dtd: New file.
+       * Makefile.in (XMLFILES): Add btrace.dtd.
+       * btrace.h (parse_xml_btrace): New declaration.
+       * btrace.c: Include xml-support.h.
+       (parse_xml_btrace): New function.
+       (parse_xml_btrace_block): New function.
+       (block_attributes): New struct.
+       (btrace_attributes): New struct.
+       (btrace_children): New struct.
+       (btrace_elements): New struct.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * amd64-linux-nat.c: Include btrace.h and linux-btrace.h.
+       (amd64_linux_enable_btrace): New.
+       (amd64_linux_disable_btrace): New.
+       (amd64_linux_teardown_btrace): New.
+       (_initialize_amd64_linux_nat): Initialize btrace ops.
+       * i386-linux.nat.c: Include btrace.h and linux-btrace.h.
+       (i386_linux_enable_btrace): New.
+       (i386_linux_disable_btrace): New.
+       (i386_linux_teardown_btrace): New.
+       (_initialize_i386_linux_nat): Initialize btrace ops.
+       * config/i386/linux.mh: Add linux-btrace.o.
+       * config/i386/linux64.mh: Add linux-btrace.o.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * common/linux_btrace.h: New file.
+       * common/linux_btrace.c: New file.
+       * Makefile.in (SFILES): Add btrace.c.
+       (HFILES_NO_SRCDIR): Add common/linux-btrace.h.
+       (COMMON_OBS): Add btrace.o.
+       (linux-btrace.o): New rule.
+
+2013-03-11  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * target.h: Include btrace.h.
+       (struct target_ops) <to_supports_btrace, to_enable_btrace,
+       to_disable_btrace, to_teardown_btrace, to_read_btrace>: New.
+       * target.c (target_supports_btrace): New function.
+       (target_enable_btrace): New function.
+       (target_disable_btrace): New function.
+       (target_teardown_btrace): New function.
+       (target_read_btrace): New function.
+       * btrace.h: New file.
+       * btrace.c: New file.
+       * Makefile.in: Add btrace.c.
+       * gdbthread.h: Include btrace.h.
+       (struct thread_info): Add btrace field.
+       * thread.c: Include btrace.h.
+       (clear_thread_inferior_resources): Call target_teardown_btrace.
+       * common/btrace-common.h: New file.
+
+2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill
+       for CHILD, ignore PTRACE_KILL errors, move the inner block variable
+       kill_status to outer block.
+
+2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix entry-values if the callee called a noreturn function.
+       * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
+       get_frame_address_in_block.  Add new comment.
+
+2013-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix entry-values in C++ across CUs.
+       * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use
+       lookup_minimal_symbol.  Add a comment.
+       * dwarf2read.c
+       (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer
+       DW_AT_linkage_name.
+
+2013-03-08  Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (_initialize_tracepoint): Indent the code.
+
+2013-03-08  Pedro Alves  <palves@redhat.com>
+
+       * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'.
+       (parse_find_args, find_command): Change type of pattern buffer
+       locals to 'gdb_byte *'.
+
+2013-03-08  Stan Shebs  <stan@codesourcery.com>
+           Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * NEWS: Mention set and show trace-buffer-size commands.
+       Mention new packet.
+       * target.h (struct target_ops): New method
+       to_set_trace_buffer_size.
+       (target_set_trace_buffer_size): New macro.
+       * target.c (update_current_target): Set up new method.
+       * tracepoint.c (trace_buffer_size): New global.
+       (start_tracing): Send it to the target.
+       (set_trace_buffer_size): New function.
+       (_initialize_tracepoint): Add new setshow for trace-buffer-size.
+       * remote.c (remote_set_trace_buffer_size): New function.
+       (_initialize_remote): Use it.
+       (QTBuffer:size) New remote command.
+       (PACKET_QTBuffer_size): New enum.
+       (remote_protocol_features): Add an entry for
+       PACKET_QTBuffer_size.
+
 2013-03-08  Tom Tromey  <tromey@redhat.com>
 
        * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
This page took 0.02673 seconds and 4 git commands to generate.