From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [rfc/rfa:doc] INTEGER_TO_ADDRESS; Was: INTEGER_TO_ADDRESS(), thoughts? Date: Mon, 01 Oct 2001 12:56:00 -0000 Message-id: <3BB8CA42.8030209@cygnus.com> References: <3BA7F150.9060302@cygnus.com> <3BB0F62D.1080702@cygnus.com> X-SW-Source: 2001-10/msg00014.html > Hello, > > Following up the thread on gdb@sources, this introduces an INTEGER_TO_ADDRESS() method which both the d10v and the MIPS use. > > Since JimB gave a very good explination as to the problems it has and a guideline to its use, I included that at the point it is used. I think including ``pragmatics'' such as that is a good thing. The other possability is to add it to the doco. > > The only thing I'm not sure about is the name. The type of the input parameter isn't necessary an integer. The name reflecting more the intent that the target first convert it to an integer and then to an address. > Attached is a revised patch. I've also added a pragmatics section to the relevant documentation. Comments (on the doco?). Andrew