aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-typeprint.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2023-08-31 11:46:28 -0400
committerSimon Marchi <simon.marchi@efficios.com>2023-08-31 13:16:15 -0400
commit8c329d5c651e671f9aa9ed87224dc9943a7f76e6 (patch)
tree4ae6c18c1abf1ebdc904fb85680c6e54d9f98624 /gdb/p-typeprint.c
parent3757d2d44f63b446469723e0a7a8c0dc2f695a6c (diff)
downloadgdb-8c329d5c651e671f9aa9ed87224dc9943a7f76e6.zip
gdb-8c329d5c651e671f9aa9ed87224dc9943a7f76e6.tar.gz
gdb-8c329d5c651e671f9aa9ed87224dc9943a7f76e6.tar.bz2
gdb: remove TYPE_FIELD_PACKED
Replace with a new equivalent "is_packed" method on struct field. Change-Id: I78647be3d408b40b63becb6b6f0fca211bede51c Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r--gdb/p-typeprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c
index 356a3a8..54ff966 100644
--- a/gdb/p-typeprint.c
+++ b/gdb/p-typeprint.c
@@ -522,7 +522,7 @@ pascal_language::type_print_base (struct type *type, struct ui_file *stream, int
type->field (i).name (),
stream, show - 1, level + 4, flags);
if (!type->field (i).is_static ()
- && TYPE_FIELD_PACKED (type, i))
+ && type->field (i).is_packed ())
{
/* It is a bitfield. This code does not attempt
to look at the bitpos and reconstruct filler,