Fix creal_internal_fn comment

I noticed that the comment before creal_internal_fn refers to $_cimag,
but should refer to $_creal.

gdb/ChangeLog
2019-11-28  Tom Tromey  <tom@tromey.com>

	* value.c (creal_internal_fn): Fix comment.

Change-Id: I5665aceb4be5aae7014e914cfb39db184c65d5ea
This commit is contained in:
Tom Tromey 2019-11-26 18:49:32 -07:00
parent bab05c83ac
commit 53a008a61e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-11-28 Tom Tromey <tom@tromey.com>
* value.c (creal_internal_fn): Fix comment.
2019-11-28 Tom Tromey <tom@tromey.com>
* gdbtypes.h (struct range_bounds) <flag_upper_bound_is_count,

View File

@ -3947,7 +3947,7 @@ isvoid_internal_fn (struct gdbarch *gdbarch,
return value_from_longest (builtin_type (gdbarch)->builtin_int, ret);
}
/* Implementation of the convenience function $_cimag. Extracts the
/* Implementation of the convenience function $_creal. Extracts the
real part from a complex number. */
static struct value *