From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24899 invoked by alias); 7 Oct 2013 12:05:55 -0000 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 Received: (qmail 24889 invoked by uid 89); 7 Oct 2013 12:05:55 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 07 Oct 2013 12:05:54 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r97C5lvm011418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Oct 2013 08:05:47 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r97C5htr008121; Mon, 7 Oct 2013 08:05:45 -0400 Message-ID: <5252A397.5000803@redhat.com> Date: Mon, 07 Oct 2013 12:05:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: Yao Qi CC: "ILG.Robert" , "gdb-patches@sourceware.org" Subject: Re: Extending RSP with vCont;n and vCont;f References: <7E3A266F5548C442BC08FA3038B5197C684495C0@ATFKEX06.bachmann.at> <525117AF.60703@codesourcery.com> In-Reply-To: <525117AF.60703@codesourcery.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-10/txt/msg00181.txt.bz2 On 10/06/2013 08:56 AM, Yao Qi wrote: > On 10/04/2013 08:53 PM, ILG.Robert wrote: >> Second our system contains some assembler functions which do not build a stack frame as usually done by compiled c-code. When debugging these assembler functions GDB reacts as usual: it detects the call of external code and does a "continue" to the return address of the current stack frame. Yet this return address is not the caller - it is the caller of the caller and therefore a "step-into" does not only skip undebugable code, it also steps out of the currently debugged function. >> > > IMO, it is not a problem specific to your target. It needs a fix in GDB > rather than proposing a new rsp packet. Or really, those assembly functions have wrong or missing unwind info. -- Pedro Alves