This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: do you know this error..
- From: Michael Eager <eager at eagercon dot com>
- To: Jungsoo Sohn <amamos at dallext dot hansung dot ac dot kr>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 13 May 2003 09:06:27 -0700
- Subject: Re: do you know this error..
- References: <00c401c3182f$fe1cdda0$2119ded2@orgio>
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
>
> 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