aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-26 18:49:32 -0700
committerTom Tromey <tom@tromey.com>2019-11-28 08:07:38 -0700
commit53a008a61e22c8d385eb57fb5f786eb0c47ba355 (patch)
tree203b8d874349150c0e172294131dbf66644f3b0a /gdb/value.c
parentbab05c83ac4333bb087a41f843af0e66218ec054 (diff)
downloadgdb-53a008a61e22c8d385eb57fb5f786eb0c47ba355.zip
gdb-53a008a61e22c8d385eb57fb5f786eb0c47ba355.tar.gz
gdb-53a008a61e22c8d385eb57fb5f786eb0c47ba355.tar.bz2
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
Diffstat (limited to 'gdb/value.c')
-rw-r--r--gdb/value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/value.c b/gdb/value.c
index 57e62b9..2e2117b 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -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 *