From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6468 invoked by alias); 19 Feb 2013 08:34:15 -0000 Received: (qmail 6429 invoked by uid 22791); 19 Feb 2013 08:34:14 -0000 X-SWARE-Spam-Status: No, hits=-8.0 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Feb 2013 08:34:07 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 19 Feb 2013 00:34:06 -0800 X-ExtLoop1: 1 Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga002.fm.intel.com with ESMTP; 19 Feb 2013 00:34:04 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.108]) by IRSMSX103.ger.corp.intel.com ([169.254.3.15]) with mapi id 14.01.0355.002; Tue, 19 Feb 2013 08:34:03 +0000 From: "Metzger, Markus T" To: Jan Kratochvil , Eli Zaretskii , "Tom Tromey (tromey@redhat.com)" CC: "gdb-patches@sourceware.org" , "markus.t.metzger@gmail.com" Subject: RE: [rfc 6/8] record disas: omit function names by default Date: Tue, 19 Feb 2013 08:34:00 -0000 Message-ID: References: <20130215161049.GA6219@host2.jankratochvil.net> <831uchtp4y.fsf@gnu.org> <20130215183256.GA16845@host2.jankratochvil.net> <83sj4xs8hp.fsf@gnu.org> <20130215190955.GA18269@host2.jankratochvil.net> <20130218130247.GA7250@host2.jankratochvil.net> <20130218141311.GA9315@host2.jankratochvil.net> <20130218151353.GA14121@host2.jankratochvil.net> In-Reply-To: <20130218151353.GA14121@host2.jankratochvil.net> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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/msg00493.txt.bz2 > -----Original Message----- > From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com] > Sent: Monday, February 18, 2013 4:14 PM > On Mon, 18 Feb 2013 15:50:50 +0100, Metzger, Markus T wrote: > > This goes beyond what "btrace" did and has the potential for lots of di= scussions - > > especially when considering optimized code. >=20 > GDB currently has many issues with optimized code where it could behave b= etter > (even for watchpoints etc.). It is enough when the feature is useful > for "-O0 -g" code. >=20 > > It might be better if we postponed it in favor of reverse-stepping, >=20 > OK, fine with that, so that neither "btrace list" nor "record list" will > exist, in the favor of "reverse-step". OK, so I keep it on my todo-list but postpone it. Let's try to close on the command names. Here's what the commands are supposed to do: > The idea of those three new commands is to provide a quick overview of the > execution history at different levels of granularity. Each of those comma= nds > allows iteration similar to the "list" command. The different levels of g= ranularity > are: ... instructions (disassembly), source lines, and functions I'm listing the proposals that were made in this thread. In the end, it's y= our call since I need you to approve the patch series. I also trust that you have a = better understanding of GDB's command language than I do. Markus: > > record disassemble ......... instructions > > record list ....................... source lines > > record backtrace ............. functions Jan: > I still find "record list-functions" and "record list-instructions" more = clear > than "record backtrace" and "record disassemble". Particularly as there = is > the "list" word. >=20 > Sorry for "bikeshedding" it, additionally so late, I do not want to keep = this > discussion longer anymore. Eli: > > Maybe "record list-functions"? >=20 > How about "record trace-functions"? Eli: > record instruction-history > record source-lines-history > record function-call-history Tom: > Jan> Maybe "record list-functions"? >=20 > "record history" or "record function-history"? Thanks, Markus. Intel GmbH Dornacher Strasse 1 85622 Feldkirchen/Muenchen, Deutschland Sitz der Gesellschaft: Feldkirchen bei Muenchen Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk Registergericht: Muenchen HRB 47456 Ust.-IdNr./VAT Registration No.: DE129385895 Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052