Subject: RE: remote debug from i386
To: None <>
From: None <>
List: port-arm
Date: 05/24/2004 19:37:00
Hi all,
I had found out how to enable i386 GDB to understand ARM format =
executable file.
	1. cd /usr/src/gnu/dist/gdb
	2. ./configure --host=3Di386-unknown-netbsdelf1.6.2 =
	3. make


-----Original Message-----
From: Lin, Colin(=AAL=AB=D8=A6w IAC)=20
Sent: Friday, May 21, 2004 4:24 PM
To: ''
Subject: remote debug from i386

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 =
	Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.

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

Thanks and regards,