osdir.com
mailing list archive

Subject: Re: [PATCH] HW Breakpoints - msg#00001

List: linux.kernel.debugging.kgdb.bugs

Date: Prev Next Index Thread: Prev Next Index
Jason Wessel wrote:
>
> I rolled up several patches along with my changes to fix HW
> breakpoints on x86_64 and i386. I also deprecated some of the
> #defines in favor of using the kgdb_ops to control the HW breakpoints
> for other non IA archs at the point that these are implemented.
>
> Until such time that there is a common interface for kernel HW
> breakpoints, if a user space application uses HW breakpoints the
> kernel breakpoints will disappear. I tested execution, data access
> and data write breakpoints and all work with gdb 6.6.
>
> If there are no objections, I am going to replace the i386.patch with
> i386_hw_breakpoints.patch and x86_64_breakpoints.patch and merge the
> core changes for arch breakpoints to core-lite.patch.
>
> Signed-off-by: Jason Wessel <jason.wessel@xxxxxxxxxxxxx>
>

There were no critical objections so this patch has been merged to the
2.6.21 uprev branch. The i386.patch has been removed, and replaced by
i386-hw_breakpoints.patch and x86_64-hw_breakpoints.patch. The HW
breakpoints work on SMP and UP systems at this point if you use gdb 6.6
or a gdb which supports the Z packets correctly for HW breakpoints.

The HW breakpoint code was cleaned up in the core-lite.patch so as to
use the kgdb_ops call backs if an arch implements hw breakpoints. At
this point if someone would like to clean up the sw breakpoint
references I'll gladly merge it, else this clean up will wait for the
time being.

Thanks,
Jason.



Jason.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

AD:Google推广60/月起

如果不愿接收此邮件,请发邮件到cngoogle@xxxxxxxx退定,谢谢! 60元/月做GOOGLE首页 GOOGLE推广特价60/月起 先做后付款 同时做10个月送两个月 名额有限,如果需要请速联系我们 GOOGLE推广,全球第一搜索引擎 商机无限,抢到就是赚到 另外YAHOO国际推广、其他推广及域名特价 联系人:周先生 联系电话:025-52124505 13913302771 QQ:44648727 MSN:js_google@xxxxxxxxxxx 夜航互联 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/_______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Next Message by Date: click to view message preview

[PATCH] Solving the preempt count problem

I discovered that the preempt_count problem exists in different forms due to the way faults are handled are different archs when the kgdb_may_fault and long jump occur to restore the system context. This means that a general solution was needed vs a per arch solution. Attached is the patch to fix the kgdb_may_fault memory access issues when using a kernel that cares about the preempt count. This will avoid random crashes of threads to the abort to trigger from a bad/unexpected preempt count change. This patch also fixes a missed case where a return can happen in an error condition where kgdb_may_fault is still set. Of course the system will most definitely crash when kgdb_may_fault is set and a resume occurs. If there are no objections I will merge this patch soon and make a final call for contributions to the 2.6.21 uprev. The next step is on to 2.6.22 and updating the kernel.org tree. Thanks, Jason. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/_______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Previous Message by Thread: click to view message preview

AD:Google推广60/月起

如果不愿接收此邮件,请发邮件到cngoogle@xxxxxxxx退定,谢谢! 60元/月做GOOGLE首页 GOOGLE推广特价60/月起 先做后付款 同时做10个月送两个月 名额有限,如果需要请速联系我们 GOOGLE推广,全球第一搜索引擎 商机无限,抢到就是赚到 另外YAHOO国际推广、其他推广及域名特价 联系人:周先生 联系电话:025-52124505 13913302771 QQ:44648727 MSN:js_google@xxxxxxxxxxx 夜航互联 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/_______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Next Message by Thread: click to view message preview

[PATCH] Solving the preempt count problem

I discovered that the preempt_count problem exists in different forms due to the way faults are handled are different archs when the kgdb_may_fault and long jump occur to restore the system context. This means that a general solution was needed vs a per arch solution. Attached is the patch to fix the kgdb_may_fault memory access issues when using a kernel that cares about the preempt count. This will avoid random crashes of threads to the abort to trigger from a bad/unexpected preempt count change. This patch also fixes a missed case where a return can happen in an error condition where kgdb_may_fault is still set. Of course the system will most definitely crash when kgdb_may_fault is set and a resume occurs. If there are no objections I will merge this patch soon and make a final call for contributions to the 2.6.21 uprev. The next step is on to 2.6.22 and updating the kernel.org tree. Thanks, Jason. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/_______________________________________________ Kgdb-bugreport mailing list Kgdb-bugreport@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by