logo       

Re: kgdb on arm for 2.6: msg#00100

linux.kernel.debugging.kgdb.bugs

Subject: Re: kgdb on arm for 2.6

Lance Spaulding wrote:
Amit Kale wrote:

arm processor doesn't contain hardware support for single step. gdb is aware of this and uses breakpoints for this purpose. It sends an 's' packet, which if failed tells gdb that stub doesn't support single stepping. Gdb uses breakpoints after that.

This is interesting in that our 2.4 kernels contain kgdb with step code. the code there decodes the instruction and does what is needed to do the step. Not a small feat, but then thats the way it was done prior to the hardware step.

George
--

-Amit

How do I get gdb to do this? When I try to single-step I get the "invalid reply" message then gdb is basically hung. I'm using gdb v6.1. Also for reference, single-stepping works fine on the same platform using a old (~ 2 years) version of kgdb and a 2.4 kernel. It's just the new 2.6 version of kgdb that I can't get working right.

Thanks in advance,
Lance



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport


--
George Anzinger george@xxxxxxxxxx
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise