Fix creal_internal_fn comment
authorTom Tromey <tom@tromey.com>
Wed, 27 Nov 2019 01:49:32 +0000 (18:49 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 28 Nov 2019 15:07:38 +0000 (08:07 -0700)
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

gdb/ChangeLog
gdb/value.c

index c777def757b0c46f1db7d89d067f252fa9741bfb..bc61c35064eff09f0619c6059d7cbf658bff9d10 100644 (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,
index 57e62b9175f4addbc3596b7ddfe92c5f7de745b1..2e2117bf31c37509c69ec562947520bd40ce7378 100644 (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 *