From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26040 invoked by alias); 28 Mar 2003 22:19:00 -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 26029 invoked from network); 28 Mar 2003 22:19:00 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 28 Mar 2003 22:19:00 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 213762B29; Fri, 28 Mar 2003 17:18:52 -0500 (EST) Message-ID: <3E84CA4B.7080104@redhat.com> Date: Fri, 28 Mar 2003 22:19:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz , Chris Plummer Cc: gdb@sources.redhat.com Subject: Re: problems with GDB on Debian 3.0 for mips References: <3E84922E.96F7B801@sun.com> <20030328182530.GA20454@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00391.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; Assuming the fix works, can someone please file a bug report. Might want this in the PROBLEMS file for the next release. Andrew