This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] CFI improvements


On Wed, 21 May 2003, Michal Ludvig wrote:
> Hans-Peter Nilsson told me that:
> > Oh, sorry: consider redefining tc_regname_to_dw2regnum to take a
> > char ** and to handle incrementing it over the register name.
>
> It's not good a idea because you couldn't pass constant strings to the
> function then.

Oh, right.

> Instead I added another parameter - pointer to 'int' -
> that is filled with the number of characters used. If the 'size' is NULL
> nothing bad happens - the value is simply ignored. After return size can
> be used to adjust input_line_pointer.
>
> Comments?

Looks good to me.  (But use two spaces after dot in ChangeLog too.)
Thanks for doing this.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]