* O2 KGDB problem
@ 2007-10-10 8:38 Ricardo Mendoza
2007-10-10 12:55 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Mendoza @ 2007-10-10 8:38 UTC (permalink / raw)
To: linux-mips
Been messing around with the O2 and KGDB and well, theres a problem that
I don't quite know how to tackle, when building a 64-bit kernel with
mips64 target toolchain and with CONFIG_BUILD_ELF64 and then trying to
start remote gdb with that image I get a Segfault from gdb. What do you
think is the cause of this?
I guess its just file format mixup confusing gdb? any pointer from a gdb
guru
towards making this work?
Ricardo
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: O2 KGDB problem
2007-10-10 8:38 O2 KGDB problem Ricardo Mendoza
@ 2007-10-10 12:55 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2007-10-10 12:55 UTC (permalink / raw)
To: Ricardo Mendoza; +Cc: linux-mips
On Wed, Oct 10, 2007 at 04:38:38AM -0400, Ricardo Mendoza wrote:
> Been messing around with the O2 and KGDB and well, theres a problem that
> I don't quite know how to tackle, when building a 64-bit kernel with
> mips64 target toolchain and with CONFIG_BUILD_ELF64 and then trying to
> start remote gdb with that image I get a Segfault from gdb. What do you
> think is the cause of this?
>
> I guess its just file format mixup confusing gdb? any pointer from a gdb
> guru
> towards making this work?
I believe a CVS snapshot of GDB will "work" but refuse to show you
line numbers, and if you use a CVS snapshot of gas too then things
will work OK. gas was doing something horribly wrong to the
.debug_line sections it generated.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-10 12:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 8:38 O2 KGDB problem Ricardo Mendoza
2007-10-10 12:55 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox