public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* do you know this error..
@ 2003-05-12  2:41 Jungsoo Sohn
  2003-05-13 16:06 ` Michael Eager
  0 siblings, 1 reply; 3+ messages in thread
From: Jungsoo Sohn @ 2003-05-12  2:41 UTC (permalink / raw)
  To: gdb

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? 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: do you know this error..
  2003-05-12  2:41 do you know this error Jungsoo Sohn
@ 2003-05-13 16:06 ` Michael Eager
  2003-05-13 16:13   ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Eager @ 2003-05-13 16:06 UTC (permalink / raw)
  To: Jungsoo Sohn; +Cc: gdb

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: do you know this error..
  2003-05-13 16:06 ` Michael Eager
@ 2003-05-13 16:13   ` Daniel Jacobowitz
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2003-05-13 16:13 UTC (permalink / raw)
  To: Jungsoo Sohn, gdb

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-13 16:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12  2:41 do you know this error Jungsoo Sohn
2003-05-13 16:06 ` Michael Eager
2003-05-13 16:13   ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).