From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4833 invoked by alias); 12 Mar 2003 02:54:39 -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 4824 invoked from network); 12 Mar 2003 02:54:37 -0000 Received: from unknown (HELO corbulon.video-collage.com) (64.35.99.179) by 172.16.49.205 with SMTP; 12 Mar 2003 02:54:37 -0000 Received: from mteterin.us.murex.com (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.8/8.12.8) with ESMTP id h2C2sYIN087706 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Tue, 11 Mar 2003 21:54:36 -0500 (EST) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: gdb@sources.redhat.com Subject: More on the Solaris 64 bit troubles Date: Wed, 12 Mar 2003 02:54:00 -0000 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303112155.48503.mi+mx@aldan.algebra.com> X-Scanned-By: MIMEDefang 2.21 (www . roaringpenguin . com / mimedefang) X-SW-Source: 2003-03/txt/msg00173.txt.bz2 It happens when I try to use the 64-bit compiled gdb executable to debug a 32-bit executable. I don't see why this should not work... It dies, because when the second gdbarch structure is initialized (don't why it does it twice) the set_gdbarch_num_regs is not called and num_regs fields stays at the unitialized -1 :-( Any clues? Thanks! -mi