From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18321 invoked by alias); 24 Apr 2013 04:54:05 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 18275 invoked by uid 89); 24 Apr 2013 04:54:04 -0000 X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 24 Apr 2013 04:54:04 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3O4rxah002210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Apr 2013 00:53:59 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r3O4rw8M007886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 24 Apr 2013 00:53:59 -0400 From: Tom Tromey To: Raphael Zulliger Cc: gdb@sourceware.org Subject: Re: Unneeded displaced single stepping causes issues: Performance drop and range stepping killer References: <517516D8.6010604@indel.ch> Date: Wed, 24 Apr 2013 04:54:00 -0000 In-Reply-To: <517516D8.6010604@indel.ch> (Raphael Zulliger's message of "Mon, 22 Apr 2013 12:54:16 +0200") Message-ID: <87li88o7fd.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-04/txt/msg00070.txt.bz2 >>>>> "Raphael" == Raphael Zulliger writes: Raphael> versus: Raphael> (gdb) set displaced-stepping 1 Raphael> (gdb) si Raphael> Sending packet: $m1508,4#9b...Packet received: 3c000058 Raphael> Sending packet: $m832d4,4#02...Packet received: 7c0802a6 Raphael> Sending packet: $X1508,0:#bc...Packet received: Raphael> binary downloading NOT supported by target Raphael> Sending packet: $M1508,4:7c0802a6#b0...Packet received: OK Raphael> Sending packet: $g#67...Packet received: [...] I guess this is copying the instruction and stepping it? I wonder if we could put more information about displaced stepping into the remote protocol, to avoid the extra traffic. Tom