* How do you debug the kernel on an ML403?
@ 2006-10-31 23:37 Frank D Lombardo
2006-10-31 23:59 ` Michael Galassi
0 siblings, 1 reply; 2+ messages in thread
From: Frank D Lombardo @ 2006-10-31 23:37 UTC (permalink / raw)
To: linuxppc-embedded
I am using a Xilinx ML403 board with the Parallel IV JTAG cable. I have
been able to use XMD and the Insight front end for GDB to debug both
U-Boot and the uncompressed portion of the zImage.elf file. However, I
cannot set breakpoints in kernel code. Can XMD and the Parallel IV
JTAG cable be used to debug kernel code? How do you do that?
Thanks,
Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How do you debug the kernel on an ML403?
2006-10-31 23:37 How do you debug the kernel on an ML403? Frank D Lombardo
@ 2006-10-31 23:59 ` Michael Galassi
0 siblings, 0 replies; 2+ messages in thread
From: Michael Galassi @ 2006-10-31 23:59 UTC (permalink / raw)
To: Frank D Lombardo; +Cc: linuxppc-embedded
Set a breakpoint at the end of the decompression stage of what you call
the uncompressed portion of the zImage.elf file, then single step your
way past the transition to virtual mappings, reload your symbols from
the vmlinux file and you're set to go. Tedious but that forces you to
think about each step much harder rather than to indulge in trial and
error.
-michael
>I am using a Xilinx ML403 board with the Parallel IV JTAG cable. I have
>been able to use XMD and the Insight front end for GDB to debug both
>U-Boot and the uncompressed portion of the zImage.elf file. However, I
>cannot set breakpoints in kernel code. Can XMD and the Parallel IV
>JTAG cable be used to debug kernel code? How do you do that?
>
>Thanks,
>Frank
>_______________________________________________
>Linuxppc-embedded mailing list
>Linuxppc-embedded@ozlabs.org
>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-11-01 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-31 23:37 How do you debug the kernel on an ML403? Frank D Lombardo
2006-10-31 23:59 ` Michael Galassi
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 NNTP newsgroup(s).