From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5023 invoked by alias); 8 Feb 2013 15:30:59 -0000 Received: (qmail 4972 invoked by uid 22791); 8 Feb 2013 15:30:57 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga09.intel.com (HELO mga09.intel.com) (134.134.136.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Feb 2013 15:30:48 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 08 Feb 2013 07:29:27 -0800 X-ExtLoop1: 1 Received: from swsutil001.isw.intel.com ([10.237.237.11]) by orsmga002.jf.intel.com with ESMTP; 08 Feb 2013 07:30:39 -0800 Received: from ulslx001.iul.intel.com (ulslx001.iul.intel.com [172.28.207.63]) by swsutil001.isw.intel.com (8.13.6/8.13.6/MailSET/Hub) with ESMTP id r18FUbBo002883; Fri, 8 Feb 2013 15:30:37 GMT Received: from ulslx001.iul.intel.com (localhost [127.0.0.1]) by ulslx001.iul.intel.com with ESMTP id r18FUaVx027125; Fri, 8 Feb 2013 16:30:36 +0100 Received: (from mmetzger@localhost) by ulslx001.iul.intel.com with id r18FUaXC027121; Fri, 8 Feb 2013 16:30:36 +0100 From: markus.t.metzger@intel.com To: jan.kratochvil@redhat.com Cc: gdb-patches@sourceware.org, markus.t.metzger@gmail.com, Markus Metzger Subject: [rfc 0/5] record-btrace Date: Fri, 08 Feb 2013 15:30:00 -0000 Message-Id: <1360337423-27095-1-git-send-email-markus.t.metzger@intel.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00213.txt.bz2 From: Markus Metzger Hi Jan, Here are a few patches to refactor record and add the first new record command for disassembling a section of the execution log. I developed this on top of the btrace series, but the patches should apply on master, as well. I hope I incorporated all of your feedback. regards, markus. Markus Metzger (5): target: add add_deprecated_target_alias record: split record record: make it build again record: default target methods. record, disas: add record disassemble command gdb/Makefile.in | 5 +- gdb/amd64-linux-tdep.c | 2 +- gdb/arm-tdep.c | 1 + gdb/i386-linux-tdep.c | 2 +- gdb/i386-tdep.c | 1 + gdb/infrun.c | 1 + gdb/linux-record.c | 1 + gdb/moxie-tdep.c | 1 + gdb/record-full.c | 2984 +++++++++++++++++++++++++++++++++++++++++++++++ gdb/record-full.h | 36 + gdb/record.c | 3036 ++++-------------------------------------------- gdb/record.h | 35 +- gdb/target.c | 177 +++ gdb/target.h | 61 + 14 files changed, 3511 insertions(+), 2832 deletions(-) create mode 100644 gdb/record-full.c create mode 100644 gdb/record-full.h