[PATCH 1/8] gdb: Add $_cimag and $_creal internal functions
Tom Tromey
tom@tromey.com
Tue Mar 19 19:47:00 GMT 2019
>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
Andrew> Add two new internal functions $_cimag and $_creal that extract the
Andrew> imaginary and real parts of a complex value.
Thanks. I had one nit.
Andrew> + if (argc != 1)
Andrew> + error (_("You must provide one argument for $_real_from_complex."));
[...]
Andrew> + if (argc != 1)
Andrew> + error (_("You must provide one argument for $_real_from_complex."));
I think these should use the names $_creal and $_cimag instead.
Tom
More information about the Gdb-patches
mailing list