[Top] [All Lists]

Re: Patch 0/6] MIPS: Hardware watch register support for gdb (version 5)

To: David Daney <>
Subject: Re: Patch 0/6] MIPS: Hardware watch register support for gdb (version 5).
From: David VomLehn <>
Date: Tue, 23 Sep 2008 11:49:07 -0700
Authentication-results: sj-dkim-3;; dkim=pass ( sig from verified; );
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; l=1403; t=1222195761; x=1223059761; c=relaxed/simple; s=sjdkim3002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;;; z=From:=20David=20VomLehn=20<> |Subject:=20Re=3A=20Patch=200/6]=20MIPS=3A=20Hardware=20wat ch=20register=20support=20for=20gdb=20(version=0A=205). |Sender:=20; bh=NxxbECB6X5rdfcRm5hjOUCBRmVt6+2XgeONNDWb0j3E=; b=nJspz9t82YfcsFzAy5ClwksXrKG4uMCMK9kHfx+I9Xxj6MC/4BKk2ittfh p9x+3ULLh3vaVitOYD/OzeXGllGpxli0KF3wS438yr8VHUt5ntooARVm8Y/b X3KuIiLNQT;
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Thunderbird (Windows/20080708)
David Daney wrote:

To follow is my fifth pass at MIPS watch register support.

I'd like to add a feature request, understanding fully that the response may very well be, "interesting idea, now show us a patch"--can we have an interface that would allow kernel-space allocation of watchpoint registers?

The rationale is that we have found it quite useful to have kernel and driver code set watchpoints for debugging purposes. I would not expect that kernel space code could grab watchpoint registers already in use by ptrace, and that ptrace would be free to allocate all watchpoint registers not in use for kernel space purposes, i.e. there would be no watchpoint registers permanently allocated for kernel space usage.

- - - - - Cisco - - - - - This e-mail and any attachments may contain information which is confidential, proprietary, privileged or otherwise protected by law. The information is solely intended for the named addressee (or a person responsible for delivering it to the addressee). If you are not the intended recipient of this message, you are not authorized to read, print, retain, copy or disseminate this message or any part of it. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it from your computer.

<Prev in Thread] Current Thread [Next in Thread>