From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 352 invoked by alias); 14 May 2004 08:47:50 -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 32722 invoked from network); 14 May 2004 08:47:47 -0000 Received: from unknown (HELO r-kk.iij4u.or.jp) (210.130.0.73) by sourceware.org with SMTP; 14 May 2004 08:47:47 -0000 Received: from oreo.montavista.co.jp (sonicwall.montavista.co.jp [202.232.97.131]) by r-kk.iij4u.or.jp (8.11.6+IIJ/8.11.6) with ESMTP id i4E8lQV22965; Fri, 14 May 2004 17:47:26 +0900 (JST) Date: Fri, 14 May 2004 08:47:00 -0000 From: Hiroshi DOYU To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: Where is the contents of target_fetch_registers () Message-Id: <20040514174725.33f3177c.Hiroshi_DOYU@montavista.co.jp> In-Reply-To: <20040513133723.GB23187@nevyn.them.org> References: <20040513185017.6220543b.Hiroshi_DOYU@montavista.co.jp> <20040513133723.GB23187@nevyn.them.org> Organization: MontaVista Software Japan Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-05/txt/msg00085.txt.bz2 On Thu, 13 May 2004 09:37:23 -0400 Daniel Jacobowitz wrote: > On Thu, May 13, 2004 at 06:50:17PM +0900, Hiroshi DOYU wrote: > > Hi all, > > Hello, Hiroshi-san :) Hello, Daniel :) > > target_resume (-1, continue, 0) > > target_wait (-1, status) = 103, status->kind = stopped, signal = SIGTRAP > > And this one is probably the dynamic linker breakpoint. What this > means is that GDB will read some memory from the inferior, figure out > the list of loaded shared libraries, and then try to read symbol > information for them. > > If this is where GDB is stopping, it probably means that it is either > loading the library symbols (this can take a _long_ time) or ran out of > memory and crashed. What caused the problem is for kernel to run out of memory because our glibc includes debug information in it and the size of it is more than 20MB. After I stripped libc, gdb works fine. Thanks for your information. -doyu