diff options
author | Tom Tromey <tromey@adacore.com> | 2023-03-01 14:29:28 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-03-02 08:15:23 -0700 |
commit | 2641391a87d5e6029cb1f083fd42926f668094eb (patch) | |
tree | a7e3468fc4e5579c8fed20d0154749e8dc34b550 /gdb/valarith.c | |
parent | 78c7a5288e2ba8c9fd00ee948d1f20e4decb800c (diff) | |
download | binutils-2641391a87d5e6029cb1f083fd42926f668094eb.zip binutils-2641391a87d5e6029cb1f083fd42926f668094eb.tar.gz binutils-2641391a87d5e6029cb1f083fd42926f668094eb.tar.bz2 |
Fix some value comments
I noticed a very stale comment in valarith.c. This patch fixes a few
comments in this area.
Reviewed-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r-- | gdb/valarith.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c index 6ea0cd9..4c2b443 100644 --- a/gdb/valarith.c +++ b/gdb/valarith.c @@ -1884,7 +1884,7 @@ value_less (struct value *arg1, struct value *arg2) } } -/* The unary operators +, - and ~. They free the argument ARG1. */ +/* See value.h. */ struct value * value_pos (struct value *arg1) @@ -1902,6 +1902,8 @@ value_pos (struct value *arg1) error (_("Argument to positive operation not a number.")); } +/* See value.h. */ + struct value * value_neg (struct value *arg1) { @@ -1948,6 +1950,8 @@ value_neg (struct value *arg1) error (_("Argument to negate operation not a number.")); } +/* See value.h. */ + struct value * value_complement (struct value *arg1) { |