logo       

Re: i386 Hardware watchpoints using kgdb-2-2.6.14.tar.gz: msg#00109

linux.kernel.debugging.kgdb.bugs

Subject: Re: i386 Hardware watchpoints using kgdb-2-2.6.14.tar.gz



Jitendra Pawar wrote:
Hi Dennis,

I have a patch which sends Z2 packets to kgdb instead sending it to
native gdb.


I have also attached logs that shows the packet dump for h/w watchpoints
and h/w breakpoint.


Yes, I'd pretty much sorted things out the same way. What I couldn't figure
out is *why* those macros were in nm-i386.h and nm-linux.h in the first
place. Especially when they were already correctly defined in gdb/target.h.

So, my version of a fix was to undef target_{remove,insert}_{,hw}_{watch,break}point right after the inclusion
of defs.h in breakpoint.c. That's where the overrides were disabling
remote operations, and I wasn't sure if doing away with them altogether
would break something elsewhere.

My query regarding this issue to the gdb mailing list on 1/6/06 has
so far gone ignored.

--Dennis

thanks
-Jitendra
LinSysSoft Technologies
Ask me about KGDB Pro
http://www.linsyssoft.com/Kgdbpro.html




-------------------------------------------------------
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