Hello Kevin;
 
Ptrace was not implemented in the ARM kernel.  So you probably need to patch your kernel.  You will have to write your own ptrace code or I will send you my Strong-ARM ptrace patch for linux 2.2.14 and you can make any modifications you need from that point.  After you patch your kernel then.
 
1) You could run gdbserver on your ARM system.
 
2) You could write a gdb stub program for the ARM processor.
 
3)  Some ARM architecures can use the gdb programs remote-rdi.c or remote-dp.c. It just depends on your system.
 
 
Good Luck in your efforts,
 
 
 
--George

George France,      [EMAIL PROTECTED]
Cambridge Research Laboratory, Compaq Computer Corporation
One Kendall Square, Building 700     MS: CRL
Cambridge, MA 02139 USA

-----Original Message-----[George France] ;l 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 10, 2000 8:28 PM
To: linux-arm
Subject: How to config gdb-4.18 to debug ARM code ?

Hello all ,
 
I got gdb-4.18 ,but I don't how to configure and make gdb-4.18 and then I could debug my ARM code.
My host is i586 ,
My target is arm.
 
Regards,
Kevin.
 

Reply via email to