Re: Multiplexed registers and invalidating the register cache

Orjan Friberg
2004-04-29T08:09:21Z

Eli Zaretskii wrote:
>>Date: Wed, 28 Apr 2004 12:43:12 -0400
>>From: Andrew Cagney <cagney@gnu.org>
>>
>>>>>>>+The target's register contents has changed.
>>>>
>>>>>FYI, this should probably read:
>>>>> The target's memory or register contents have [has?] changed.
>>>>>eli?
>>>
>>>
>>>I'm not sure; what is the difference between the two wordings?
>>
>>"have" sounds right (...), hmm. Check dictionary ``/has/ 3rd person
>>_singular_, present of /have/'' [canadian oxford] so "have" is correct.
>
>
> I didn't realize that you were talking only about "has" vs "have"
> (your alternative wording was different in other ways). I agree that
> "have" is correct here.

Ok to commit the below, then? (Or should the event description include
the "memory" part of Andrew's suggestion as well?)

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/doc/ChangeLog,v
retrieving revision 1.406
diff -u -p -r1.406 ChangeLog
--- ChangeLog 26 Apr 2004 09:36:56 -0000 1.406
+++ ChangeLog 29 Apr 2004 08:03:19 -0000
@@ -1,3 +1,7 @@
+2004-04-29 Orjan Friberg <orjanf@axis.com>
+
+ * observer.texi (GDB Observers): Correct spelling.
+
2004-04-26 Orjan Friberg <orjanf@axis.com>

* observer.texi (GDB Observers): Add target_changed event.
Index: observer.texi
===================================================================
RCS file: /cvs/src/src/gdb/doc/observer.texi,v
retrieving revision 1.4
diff -u -p -r1.4 observer.texi
--- observer.texi 26 Apr 2004 09:36:56 -0000 1.4
+++ observer.texi 29 Apr 2004 08:03:19 -0000
@@ -75,5 +75,5 @@ The inferior has stopped for real.
@end deftypefun

@deftypefun void target_changed (struct target_ops *@var{target})
-The target's register contents has changed.
+The target's register contents have changed.
@end deftypefun

--
Orjan Friberg
Axis Communications