aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-09-21 11:05:21 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-09-21 11:05:21 -0400
commitdf86565b31bf12aab6fdceade49169bc6f378b13 (patch)
tree76d5944661919552ce4ea01ac49188e151d72fa7 /gdb/f-lang.h
parentb6cdbc9a8173b9e6cc8cfc284caa0efa8129ca02 (diff)
downloadgdb-df86565b31bf12aab6fdceade49169bc6f378b13.zip
gdb-df86565b31bf12aab6fdceade49169bc6f378b13.tar.gz
gdb-df86565b31bf12aab6fdceade49169bc6f378b13.tar.bz2
gdb: remove TYPE_LENGTH
Remove the macro, replace all uses with calls to type::length. Change-Id: Ib9bdc954576860b21190886534c99103d6a47afb
Diffstat (limited to 'gdb/f-lang.h')
-rw-r--r--gdb/f-lang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-lang.h b/gdb/f-lang.h
index 0107a08..6a97fab 100644
--- a/gdb/f-lang.h
+++ b/gdb/f-lang.h
@@ -175,7 +175,7 @@ public:
{
const char *type_encoding = get_encoding (elttype);
- if (TYPE_LENGTH (elttype) == 4)
+ if (elttype->length () == 4)
gdb_puts ("4_", stream);
if (!encoding || !*encoding)