From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23147 invoked by alias); 24 Nov 2015 16:41:44 -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 21656 invoked by uid 89); 24 Nov 2015 16:41:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 24 Nov 2015 16:41:41 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id D142E352890C; Tue, 24 Nov 2015 17:41:38 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dr84SIJXRwVw; Tue, 24 Nov 2015 17:41:38 +0100 (CET) Received: from dhcp-guest-231.act-europe.fr (dhcp-guest-231.act-europe.fr [10.10.127.231]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id BDEB83528906; Tue, 24 Nov 2015 17:41:38 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Commands for a minimal GDB stub? From: Tristan Gingold In-Reply-To: <20151124143811.GA10563@clifford.at> Date: Tue, 24 Nov 2015 16:41:00 -0000 Cc: gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <4EF38853-B93D-4E56-AA2D-E2AA3D0089E5@adacore.com> References: <20151124133817.GA10033@clifford.at> <20151124143811.GA10563@clifford.at> To: Clifford Wolf X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00040.txt.bz2 > On 24 Nov 2015, at 15:38, Clifford Wolf wrote: >=20 > On Tue, Nov 24, 2015 at 02:51:49PM +0100, Tristan Gingold wrote: >> I think the documentation is slightly incorrect. For an almost minimal >> gdb stub, I have also implemented: >> ?, z, Z, qSupported, qC, qSymbol::, P, k, H >> z, Z, H, k, qSupported returned $#00. >>=20 >> You shouldn=E2=80=99t be very far from having a communication. >=20 > thanks. I've now added 'S05' as response to '?' and now I get to the point > where gdb actually queries the register file using the 'g' command. So I > think I'm now where the actual work starts.. ;) >=20 > again, thanks a lot for your help! You=E2=80=99re welcome. Note there are a few examples of stubs within gdb/= stubs. Tristan.