From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6986 invoked by alias); 20 Jun 2007 19:47:29 -0000 Received: (qmail 6978 invoked by uid 22791); 20 Jun 2007 19:47:28 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 20 Jun 2007 19:47:26 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 16294982FF; Wed, 20 Jun 2007 19:47:24 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id B7D85982BA; Wed, 20 Jun 2007 19:47:21 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I169R-0004nP-Do; Wed, 20 Jun 2007 15:47:37 -0400 Date: Wed, 20 Jun 2007 19:47:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org, Ulrich Weigand Subject: "maint print registers" crash Message-ID: <20070620194737.GA14838@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org, Ulrich Weigand MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes 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 X-SW-Source: 2007-06/txt/msg00402.txt.bz2 Hi Ulrich, I used to be able to start GDB and print out the current register layout without needing a target, by "maint print registers". Now that crashes GDB, because current_regcache is NULL. What do you think - refuse to dump values and use the gdbarch_descr in that case? -- Daniel Jacobowitz CodeSourcery