aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-08-31 11:46:24 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-08-31 13:16:13 -0400
commit454977cdc414ebdb45cda0072b26569fd387d659 (patch)
tree03b89b6dfbf1c48fa1aeda02a3b0fe82498a2db8 /gdb/f-lang.c
parent6c0f749351bb8f46bd6a37f9a36be8b8174f689d (diff)
downloadgdb-454977cdc414ebdb45cda0072b26569fd387d659.zip
gdb-454977cdc414ebdb45cda0072b26569fd387d659.tar.gz
gdb-454977cdc414ebdb45cda0072b26569fd387d659.tar.bz2
gdb: remove TYPE_FIELD_ARTIFICIAL
Replace with type::field + field::is_artificial. Change-Id: Ie3bacae49d9bd02e83e504c1ce01470aba56a081 Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r--gdb/f-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index bb17700..fc0614e 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -1932,7 +1932,7 @@ fortran_prepare_argument (struct expression *exp,
bool is_artificial = ((arg_num >= func_type->num_fields ())
? true
- : TYPE_FIELD_ARTIFICIAL (func_type, arg_num));
+ : func_type->field (arg_num).is_artificial ());
/* If this is an artificial argument, then either, this is an argument
beyond the end of the known arguments, or possibly, there are no known