From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32552 invoked by alias); 18 Sep 2013 16:30:45 -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 32538 invoked by uid 89); 18 Sep 2013 16:30:44 -0000 Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.10) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 18 Sep 2013 16:30:44 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL autolearn=no version=3.3.2 X-HELO: mail-out.m-online.net Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3cg6B71Ngxz3hhpq; Wed, 18 Sep 2013 18:30:38 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3cg6B62J5FzbcDc; Wed, 18 Sep 2013 18:30:38 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7EmCb-IYdws4; Wed, 18 Sep 2013 18:30:37 +0200 (CEST) X-Auth-Info: KSh6e3d6cX27vSjLszbD6MUF5MGodGjMXsizdvAO+4s= Received: from igel.home (ppp-88-217-118-37.dynamic.mnet-online.de [88.217.118.37]) by mail.mnet-online.de (Postfix) with ESMTPA; Wed, 18 Sep 2013 18:30:37 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id F0D912C0D2E; Wed, 18 Sep 2013 18:30:36 +0200 (CEST) From: Andreas Schwab To: Pedro Alves Cc: Andrew Burgess , gdb-patches@sourceware.org, Mark Kettenis Subject: Re: [PATCH+DOC] Print registers not saved in the frame as "", instead of "". References: <5200F55E.2050308@broadcom.com> <201308061318.r76DIMdd016369@glazunov.sibelius.xs4all.nl> <5200FECF.7030304@broadcom.com> <201308061541.r76FfYQN022875@glazunov.sibelius.xs4all.nl> <520142D9.4030304@redhat.com> <5208E3C8.7060107@broadcom.com> <5208E938.3080305@redhat.com> <201308122001.r7CK1862007934@glazunov.sibelius.xs4all.nl> <520E7255.7080206@redhat.com> <5211F25A.5070907@broadcom.com> <5228B15F.7060108@redhat.com> <5228B2D8.7060604@broadcom.com> <5237567C.8050406@redhat.com> <5239B2D8.4030403@broadcom.com> <5239CCB3.605@redhat.com> X-Yow: .. I want a COLOR T.V. and a VIBRATING BED!!! Date: Wed, 18 Sep 2013 16:30:00 -0000 In-Reply-To: <5239CCB3.605@redhat.com> (Pedro Alves's message of "Wed, 18 Sep 2013 16:54:27 +0100") Message-ID: <87eh8mqehf.fsf@igel.home> 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-09/txt/msg00610.txt.bz2 Pedro Alves writes: > diff --git a/gdb/NEWS b/gdb/NEWS > index af06a21..b06f90c 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -15,6 +15,15 @@ > > * The "catch syscall" command now works on arm*-linux* targets. > > +* GDB now shows "" when printing values of registers that > + have not been saved in the frame: > + > + (gdb) p $rax $1 = ^s/ /\n/ > + (gdb) info registers rax rax ^s/ /\n/ Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."