Add accessors for members of complex numbers
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7a883e81c2fcf58d1c6dfb045565e3d39cb43dc3..d1f408f1a47971d0fdaa13c62d5b8e1e55d21921 100644 (file)
@@ -1,3 +1,11 @@
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * valprint.c (generic_value_print_complex): Use accessors.
+       * value.h (value_real_part, value_imaginary_part): Declare.
+       * valops.c (value_real_part, value_imaginary_part): New
+       functions.
+       * value.c (creal_internal_fn, cimag_internal_fn): Use accessors.
+
 2020-04-01  Tom Tromey  <tom@tromey.com>
 
        * stabsread.c (rs6000_builtin_type, read_sun_floating_type)
This page took 0.025012 seconds and 4 git commands to generate.