From: David Daney <ddaney@avtrex.com>
To: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Subject: [Patch 0/6] MIPS: Hardware watch register support for gdb (version 4).
Date: Wed, 10 Sep 2008 22:34:39 -0700 [thread overview]
Message-ID: <48C8ADEF.9020305@avtrex.com> (raw)
Esteemed kernel hackers,
To follow is my forth pass at MIPS watch register support.
This version has been tested on:
* MIPS 4KEc (mips32) with a single set of watch registers watchhi not
reporting I, R, and W conditions.
* MIPS 4KEc (mips32r2) with four sets of watch registers.
* R5000 SGI O2 (mips4 64bit) with no watch register support.
The patches are against 2.6.27-rc6
To use the patch you will need a suitably patched version of gdb. The
patch against the HEAD of gdb's cvs can be found here:
http://sourceware.org/ml/gdb-patches/2008-09/msg00230.html
The previous version of this patch is here:
http://www.linux-mips.org/cgi-bin/mesg.cgi?a=linux-mips&i=48B71ADD.601%40avtrex.com
The main changes from the previous version are as follows...
* The characteristics of each watch register set are communicated via
ptrace because according to the mips32 reference, each set can have
different masks and I, R, W bit support. Previously only the
characteristics of the first set were returned.
* The alignment of the structures passed via ptrace are explicitly
specified as various versions of gcc align 64-bit objects
differently.
Six patches to follow.
Thanks
David Daney
next reply other threads:[~2008-09-11 5:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-11 5:34 David Daney [this message]
2008-09-11 5:37 ` [Patch 1/6] MIPS: Add HARDWARE_WATCHPOINTS configure option David Daney
2008-09-11 5:55 ` [Patch 2/6] MIPS: Add HARDWARE_WATCHPOINTS definitions and support code David Daney
2008-09-11 7:27 ` Geert Uytterhoeven
2008-09-11 15:05 ` David Daney
2008-09-11 5:57 ` [Patch 3/6] MIPS: Probe watch registers and report configuration David Daney
2008-09-11 5:59 ` [Patch 4/6] MIPS: Watch exception handling for HARDWARE_WATCHPOINTS David Daney
2008-09-11 6:01 ` [Patch 5/6] MIPS: Scheduler support " David Daney
2008-09-11 6:04 ` [Patch 6/6] MIPS: Ptrace " David Daney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48C8ADEF.9020305@avtrex.com \
--to=ddaney@avtrex.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox