From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12844 invoked by alias); 21 Oct 2003 18:55:48 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 12837 invoked from network); 21 Oct 2003 18:55:47 -0000 Received: from unknown (HELO frigg.inter.net.il) (192.114.186.16) by sources.redhat.com with SMTP; 21 Oct 2003 18:55:47 -0000 Received: from zaretski (pns03-200-33.inter.net.il [80.230.200.33]) by frigg.inter.net.il (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id CXN72522; Tue, 21 Oct 2003 20:55:22 +0200 (IST) Date: Tue, 21 Oct 2003 18:55:00 -0000 From: "Eli Zaretskii" To: Andrew Cagney Message-Id: <2914-Tue21Oct2003205035+0200-eliz@elta.co.il> CC: mec@shout.net, gdb@sources.redhat.com In-reply-to: <3F955028.1000706@redhat.com> (message from Andrew Cagney on Tue, 21 Oct 2003 11:26:32 -0400) Subject: Re: "No registers" or "No inferior to debug"? Reply-to: Eli Zaretskii References: <200310202156.h9KLuRKV001659@duracef.shout.net> <3F94640A.4010807@redhat.com> <7494-Tue21Oct2003074534+0200-eliz@elta.co.il> <3F955028.1000706@redhat.com> X-SW-Source: 2003-10/txt/msg00242.txt.bz2 > Date: Tue, 21 Oct 2003 11:26:32 -0400 > From: Andrew Cagney > > > > (gdb) info registers > > No program or core file to debug, so no registers. > > The point at which the error is detected and thrown is a long way from > "info registers" so customizing it to mention ", so no registers" will > be painful. Is it possible to add "No registers." on a separate line after the thread of execution comes back to "info registers"? That would produce (gdb) info registers No program or core file to debug. No registers.