[RFA] CFI improvements

Hans-Peter Nilsson hp@bitrange.com
Wed May 21 16:52:00 GMT 2003


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



More information about the Binutils mailing list