From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2483 invoked by alias); 13 May 2003 16:13:17 -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 2410 invoked from network); 13 May 2003 16:13:16 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 13 May 2003 16:13:16 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19FcP1-0006bV-00; Tue, 13 May 2003 11:13:19 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19FcOY-0006vr-00; Tue, 13 May 2003 12:12:50 -0400 Date: Tue, 13 May 2003 16:13:00 -0000 From: Daniel Jacobowitz To: Jungsoo Sohn , gdb@sources.redhat.com Subject: Re: do you know this error.. Message-ID: <20030513161250.GA26624@nevyn.them.org> Mail-Followup-To: Jungsoo Sohn , gdb@sources.redhat.com References: <00c401c3182f$fe1cdda0$2119ded2@orgio> <3EC11803.3070707@eagercon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3EC11803.3070707@eagercon.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00221.txt.bz2 On Tue, May 13, 2003 at 09:06:27AM -0700, Michael Eager wrote: > Jungsoo Sohn wrote: > > host machine : i386, redhat 7.3 , gdb: 5.3 > > target machine : mips, hardhat-2.4.18 > > ./configure --host=i386-redhat-linux-gun --target=mipsel-linux-elf Also, mipsel-linux-elf is almost certainly not what you want. Use mipsel-linux instead. > > > > error occurred: > > (gdb) add-symbol-file dvr.o 0xc000d060\ > > -s .reginfo 0xc000d350\ > > -s .rodata 0xc000d370\ > > -s .data 0xc000d620\ > > -s .bss 0xc000d670 > > add symbol table from file "dvr.o" at > > .text_addr = 0xc000d060 > > .reginfo_addr = 0xc000d350 > > .rodata_addr = 0xc000d370 > > .data_addr = 0xc000d620 > > .bss_addr = 0xc000d670 > > (gdb) b dvr_rw_dev > > Breakpoint 3 at 0xc000d30c > > (gdb) c > > (gdb) c > > write! > > > > Program received signal SIGTRAP, Trace/breakpoint trap. > > 0xffffffffc000d30c in ?? () > > (gdb) > > > > '0xffffffffc000d30c in ?? ()' what is this? what's problem? > > Looks like the address is formatted as a 64-bit value. Ignore > the top 32 bits. > > Did you compile with -g? > > -- > Michael Eager Eager Consulting eager@eagercon.com > 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077 > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer