From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24629 invoked by alias); 28 Mar 2003 18:25:34 -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 24621 invoked from network); 28 Mar 2003 18:25:33 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 28 Mar 2003 18:25:33 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18z0RH-0004wy-00; Fri, 28 Mar 2003 14:26:59 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18yyXi-0005Ks-00; Fri, 28 Mar 2003 13:25:30 -0500 Date: Fri, 28 Mar 2003 18:25:00 -0000 From: Daniel Jacobowitz To: Chris Plummer Cc: gdb@sources.redhat.com Subject: Re: problems with GDB on Debian 3.0 for mips Message-ID: <20030328182530.GA20454@nevyn.them.org> Mail-Followup-To: Chris Plummer , gdb@sources.redhat.com References: <3E84922E.96F7B801@sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E84922E.96F7B801@sun.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-03/txt/msg00387.txt.bz2 On Fri, Mar 28, 2003 at 10:19:27AM -0800, Chris Plummer wrote: > I have an application I build that I can't debug with gdb on Debain 3.0 > for mips (on both an SGI Indy and a Cobalt Qube 2). I've sucessfully run > gdb on other large applications like xemacs. Also, if use -static when > linking my app, there is no problem. This same problem can be reproduced > debugging "ls". The log output is below. This is a bug in the glibc headers used to build GDB. It should be fixed in glibc CVS and in Debian unstable. If you want, you can fix your headers and rebuild gdb. If I remember correctly you need to change two lines in sys/procfs.h to say: typedef elf_gregset_t prgregset_t; typedef elf_fpregset_t prfpregset_t; -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer