Received: from eggs.gnu.org ([2001:4830:134:3::10]:47030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bA1gK-00030v-VZ for qemu-devel@nongnu.org; Mon, 06 Jun 2016 17:03:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bA1gH-0003Bk-S3 for qemu-devel@nongnu.org; Mon, 06 Jun 2016 17:03:32 -0400 Received: from mail-qg0-x241.google.com ([2607:f8b0:400d:c04::241]:34247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bA1gH-0003Bg-NX for qemu-devel@nongnu.org; Mon, 06 Jun 2016 17:03:29 -0400 Received: by mail-qg0-x241.google.com with SMTP id z67so7687869qgz.1 for ; Mon, 06 Jun 2016 14:03:29 -0700 (PDT) Sender: Richard Henderson References: <1465239414-4932-1-git-send-email-peter.maydell@linaro.org> From: Richard Henderson Message-ID: <2cbd062c-11ce-3a71-c961-1b7eccd93063@twiddle.net> Date: Mon, 6 Jun 2016 14:03:25 -0700 MIME-Version: 1.0 In-Reply-To: <1465239414-4932-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] linux-user: provide frame information in x86-64 safe_syscall List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: patches@linaro.org, Riku Voipio On 06/06/2016 11:56 AM, Peter Maydell wrote: > Use cfi directives in the x86-64 safe_syscall to allow gdb to get > backtraces right from within it. (In particular this will be > quite a common situation if the user interrupts QEMU while it's > in a blocked safe-syscall: at the point of the syscall insn RBP > is in use for something else, and so gdb can't find the frame then > without assistance.) > > Signed-off-by: Peter Maydell > Reviewed-by: Richard Henderson > --- > v1->v2 changes: minor tweaks as requested by rth Reviewed-by: Richard Henderson r~