Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [rfa:doco] document register_type()
@ 2003-03-02 16:46 Andrew Cagney
  2003-03-02 18:57 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2003-03-02 16:46 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 80 bytes --]

Hello,

This adds doco for the register_type() architecture method.

ok?
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 1029 bytes --]

2003-03-01  Andrew Cagney  <cagney@redhat.com>

	* gdbint.texinfo (Target Architecture Definition): Document
	register_type.

Index: gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.123
diff -u -r1.123 gdbint.texinfo
--- gdbint.texinfo	4 Feb 2003 23:59:26 -0000	1.123
+++ gdbint.texinfo	2 Mar 2003 16:25:38 -0000
@@ -3504,6 +3504,12 @@
 Return the virtual type of @var{reg}.
 @xref{Target Architecture Definition, , Raw and Virtual Register Representations}.
 
+@item struct type *register_type (@var{gdbarch}, @var{reg})
+@findex register_type
+If defined, return the type of register @var{reg}.  This function
+superseeds REGISTER_VIRTUAL_TYPE.  @xref{Target Architecture Definition,
+, Raw and Virtual Register Representations}.
+
 @item REGISTER_CONVERT_TO_VIRTUAL(@var{reg}, @var{type}, @var{from}, @var{to})
 @findex REGISTER_CONVERT_TO_VIRTUAL
 Convert the value of register @var{reg} from its raw form to its virtual

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [rfa:doco] document register_type()
  2003-03-02 16:46 [rfa:doco] document register_type() Andrew Cagney
@ 2003-03-02 18:57 ` Eli Zaretskii
  2003-03-03 23:29   ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2003-03-02 18:57 UTC (permalink / raw)
  To: ac131313; +Cc: gdb-patches

> Date: Sun, 02 Mar 2003 11:49:01 -0500
> From: Andrew Cagney <ac131313@redhat.com>
> 
> This adds doco for the register_type() architecture method.
> 
> ok?

Okay with me, but please put REGISTER_VIRTUAL_TYPE in @code.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [rfa:doco] document register_type()
  2003-03-02 18:57 ` Eli Zaretskii
@ 2003-03-03 23:29   ` Andrew Cagney
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2003-03-03 23:29 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

>> Date: Sun, 02 Mar 2003 11:49:01 -0500
>> From: Andrew Cagney <ac131313@redhat.com>
>> 
>> This adds doco for the register_type() architecture method.
>> 
>> ok?
> 
> 
> Okay with me, but please put REGISTER_VIRTUAL_TYPE in @code.

Fixed/committed.  Thanks.

Andrew



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-03 23:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-02 16:46 [rfa:doco] document register_type() Andrew Cagney
2003-03-02 18:57 ` Eli Zaretskii
2003-03-03 23:29   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox