From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26803 invoked by alias); 20 Oct 2003 22:39:13 -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 26796 invoked from network); 20 Oct 2003 22:39:12 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 20 Oct 2003 22:39:12 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A024B2B89; Mon, 20 Oct 2003 18:39:06 -0400 (EDT) Message-ID: <3F94640A.4010807@redhat.com> Date: Mon, 20 Oct 2003 22:39:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Elizabeth Chastain Cc: gdb@sources.redhat.com Subject: Re: "No registers" or "No inferior to debug"? References: <200310202156.h9KLuRKV001659@duracef.shout.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00227.txt.bz2 > Look at your use case: > > (gdb) info registers > No registers > User: "Huh? How come there aren't any registers? Wha?" > > (gdb) info registers > The program is not being run > User: "Oh, okay, I guess I can't see the registers right now." > > So I like "The program is not being run." > "The inferior program is not being run." would be okay too. Info registers works with a core file. And that is definitly not being run. Andrew