This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: do you know this error..


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]