From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24479 invoked by alias); 25 Dec 2004 10:20:25 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24221 invoked from network); 25 Dec 2004 10:20:07 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 25 Dec 2004 10:20:07 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iBPAK4ov026107; Sat, 25 Dec 2004 11:20:04 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iBPAK4Jw026045; Sat, 25 Dec 2004 11:20:04 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iBPAK4Zn026042; Sat, 25 Dec 2004 11:20:04 +0100 (CET) Date: Sat, 25 Dec 2004 12:36:00 -0000 Message-Id: <200412251020.iBPAK4Zn026042@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: gdb-patches@sources.redhat.com In-reply-to: <01c4ea68$Blat.v2.2.2$e9ac5460@zahav.net.il> (eliz@gnu.org) Subject: Re: [COMMIT] HP-UX hardware watchpoint fallout References: <200412242258.iBOMwEcH022315@elgar.sibelius.xs4all.nl> <01c4ea68$Blat.v2.2.2$e9ac5460@zahav.net.il> X-SW-Source: 2004-12/txt/msg00440.txt.bz2 Date: Sat, 25 Dec 2004 12:01:50 +0200 From: "Eli Zaretskii" > Date: Fri, 24 Dec 2004 23:58:14 +0100 (CET) > From: Mark Kettenis > > from Mark Kettenis > > * target.h (TARGET_DISABLE_HW_WATCHPOINTS) > (TARGET_ENABLE_HW_WATCHPOINTS): Remove macros. Thanks. Please also remove their documentation from gdbint.texinfo. (In general, when a macro is removed from target.h, one should search gdbint.texinfo for that macro.) Oops, I forgot to commit that part. Here it is. Guess it's obvious, so it's committed now. Mark P.S. Still working on that general description about implementing hardware watchpoints using memory protections. Index: doc/ChangeLog =================================================================== RCS file: /cvs/src/src/gdb/doc/ChangeLog,v retrieving revision 1.464 diff -u -p -r1.464 ChangeLog --- doc/ChangeLog 8 Dec 2004 05:28:31 -0000 1.464 +++ doc/ChangeLog 25 Dec 2004 10:15:54 -0000 @@ -1,3 +1,8 @@ +2004-12-24 Mark Kettenis + + * gdbint.texinfo (Algorithms): Remove description of + TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS. + 2004-12-07 Jim Blandy * gdb.texinfo (General Query Packets): Specify that thread ID's in Index: doc/gdbint.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v retrieving revision 1.227 diff -u -p -r1.227 gdbint.texinfo --- doc/gdbint.texinfo 4 Dec 2004 14:02:44 -0000 1.227 +++ doc/gdbint.texinfo 25 Dec 2004 10:16:01 -0000 @@ -440,20 +440,6 @@ whose size is @var{size}. @value{GDBN} fall-back, in case @code{TARGET_REGION_OK_FOR_HW_WATCHPOINT} is not defined. -@findex TARGET_DISABLE_HW_WATCHPOINTS -@item TARGET_DISABLE_HW_WATCHPOINTS (@var{pid}) -Disables watchpoints in the process identified by @var{pid}. This is -used, e.g., on HPPA-RISC machines running HP-UX, which provide -operations to disable and enable the page-level memory protection that -implements hardware watchpoints on that platform. - -@findex TARGET_ENABLE_HW_WATCHPOINTS -@item TARGET_ENABLE_HW_WATCHPOINTS (@var{pid}) -Enables watchpoints in the process identified by @var{pid}. This is -used, e.g., on HPPA-RISC machines running HP-UX, which provide -operations to disable and enable the page-level memory protection that -implements hardware watchpoints on that platform. - @cindex insert or remove hardware watchpoint @findex target_insert_watchpoint @findex target_remove_watchpoint