aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/value.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c777def..bc61c35 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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,
flag_bound_evaluated>: Now unsigned.
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 *