All of lore.kernel.org
 help / color / mirror / Atom feed
* recent gdb add-symbol-file problem?
@ 2001-09-24  9:17 ` renc stone
  0 siblings, 0 replies; 4+ messages in thread
From: renc stone @ 2001-09-24  9:17 UTC (permalink / raw)
  To: gcc; +Cc: linux-mips

hi ,
 I use gdb 20010919 source form sources.redhat.com,
 target mipsel, host i386 box.

When I want to use this to debug some module of linux-mips kernel ,
trouble comes:

When I use the add-symbol-file command to add the symbols of module,

add-symbol-file mymodule.o 0xc001e060
gdb echos no problem,
but it seems to be confused:
the command
b my_func1
b my_func2
b my_func3

all show the same address, all the functions starts from ONE place?
I checked the address, it's the text section start address of this module.
Can't the gdb  correctly read the elf file of mipsel ?

 Any ideas?  Or anyone who have done this  please tell me how to get through
it .

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

* recent gdb add-symbol-file problem?
@ 2001-09-24  9:17 ` renc stone
  0 siblings, 0 replies; 4+ messages in thread
From: renc stone @ 2001-09-24  9:17 UTC (permalink / raw)
  To: gcc; +Cc: linux-mips

hi ,
 I use gdb 20010919 source form sources.redhat.com,
 target mipsel, host i386 box.

When I want to use this to debug some module of linux-mips kernel ,
trouble comes:

When I use the add-symbol-file command to add the symbols of module,

add-symbol-file mymodule.o 0xc001e060
gdb echos no problem,
but it seems to be confused:
the command
b my_func1
b my_func2
b my_func3

all show the same address, all the functions starts from ONE place?
I checked the address, it's the text section start address of this module.
Can't the gdb  correctly read the elf file of mipsel ?

 Any ideas?  Or anyone who have done this  please tell me how to get through
it .

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

* Re: recent gdb add-symbol-file problem?
@ 2001-09-27  9:33   ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2001-09-27  9:33 UTC (permalink / raw)
  To: renc stone; +Cc: gcc, linux-mips

On Sep 24, 2001, "renc stone" <renwei@huawei.com> wrote:

> Can't the gdb  correctly read the elf file of mipsel ?

>  Any ideas?

You got the wrong mailing list.  gcc != gdb.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* Re: recent gdb add-symbol-file problem?
@ 2001-09-27  9:33   ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2001-09-27  9:33 UTC (permalink / raw)
  To: renc stone; +Cc: gcc, linux-mips

On Sep 24, 2001, "renc stone" <renwei@huawei.com> wrote:

> Can't the gdb  correctly read the elf file of mipsel ?

>  Any ideas?

You got the wrong mailing list.  gcc != gdb.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

end of thread, other threads:[~2001-09-27 12:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-24  9:17 recent gdb add-symbol-file problem? renc stone
2001-09-24  9:17 ` renc stone
2001-09-27  9:33 ` Alexandre Oliva
2001-09-27  9:33   ` Alexandre Oliva

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.