Remove some obsolete comments
While working on complex number support, I found a couple of apparently obsolete coments. This removes them. 2020-03-07 Tom Tromey <tom@tromey.com> * valops.c (value_literal_complex): Remove obsolete comment. * gdbtypes.h (enum type_code) <TYPE_CODE_FLT>: Remove obsolete comment.
This commit is contained in:
parent
190e5fc8b3
commit
e893257635
3 changed files with 8 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2020-03-07 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
|
* valops.c (value_literal_complex): Remove obsolete comment.
|
||||||
|
* gdbtypes.h (enum type_code) <TYPE_CODE_FLT>: Remove obsolete
|
||||||
|
comment.
|
||||||
|
|
||||||
2020-03-06 Simon Marchi <simon.marchi@polymtl.ca>
|
2020-03-06 Simon Marchi <simon.marchi@polymtl.ca>
|
||||||
|
|
||||||
* infrun.h: Forward-declare thread_info.
|
* infrun.h: Forward-declare thread_info.
|
||||||
|
|
|
@ -120,9 +120,7 @@ enum type_code
|
||||||
TYPE_CODE_FUNC, /**< Function type */
|
TYPE_CODE_FUNC, /**< Function type */
|
||||||
TYPE_CODE_INT, /**< Integer type */
|
TYPE_CODE_INT, /**< Integer type */
|
||||||
|
|
||||||
/* * Floating type. This is *NOT* a complex type. Beware, there
|
/* * Floating type. This is *NOT* a complex type. */
|
||||||
are parts of GDB which bogusly assume that TYPE_CODE_FLT can
|
|
||||||
mean complex. */
|
|
||||||
TYPE_CODE_FLT,
|
TYPE_CODE_FLT,
|
||||||
|
|
||||||
/* * Void type. The length field specifies the length (probably
|
/* * Void type. The length field specifies the length (probably
|
||||||
|
|
|
@ -3856,9 +3856,7 @@ value_slice (struct value *array, int lowbound, int length)
|
||||||
|
|
||||||
/* Create a value for a FORTRAN complex number. Currently most of the
|
/* Create a value for a FORTRAN complex number. Currently most of the
|
||||||
time values are coerced to COMPLEX*16 (i.e. a complex number
|
time values are coerced to COMPLEX*16 (i.e. a complex number
|
||||||
composed of 2 doubles. This really should be a smarter routine
|
composed of 2 doubles. */
|
||||||
that figures out precision intelligently as opposed to assuming
|
|
||||||
doubles. FIXME: fmb */
|
|
||||||
|
|
||||||
struct value *
|
struct value *
|
||||||
value_literal_complex (struct value *arg1,
|
value_literal_complex (struct value *arg1,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue