Subject: remote debug from i386
To: None <port-arm@NetBSD.org>
From: None <Lin.Colin@iac.com.tw>
List: port-arm
Date: 05/21/2004 16:23:37
Hi all,
I want to remote debug the embedded kernel from PC now.
When I built up a kernel supporting KGDB and was ready to debug it, I =
found that i386 gdb seems not understand the ARM format executable file.
	> gdb netbsd.gdb
	....
	....
	warning: unknown architecture file may be incompatible with i386 =
target.
	Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.

If I try to make "step" or "stepi" commands in gdb, something would be =
wrong.
So I'd like to know, is it possible to remote debug an ARM kernel in =
embedded device from i386 PC?

Thanks and regards,
Colin