diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2002-08-19 12:08:07 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2002-08-19 12:08:07 +0000 |
commit | 118ac0489051305482889b12daf22be98c8db79e (patch) | |
tree | 77fe63d8b293785f9905819ee8782a4de7c450b2 /gdb/p-valprint.c | |
parent | 7eafbfc9dac233a7bddc7d9487b35d56b494b247 (diff) | |
download | gdb-118ac0489051305482889b12daf22be98c8db79e.tar.gz |
2002-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
* p-valprint.c (pascal_val_print): Add support for TYPE_CODE_FLAGS.
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r-- | gdb/p-valprint.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c index 06a821605fe..747223cb6c5 100644 --- a/gdb/p-valprint.c +++ b/gdb/p-valprint.c @@ -36,6 +36,7 @@ #include "target.h" #include "annotate.h" #include "p-lang.h" +#include "c-lang.h" #include "cp-abi.h" @@ -72,6 +73,10 @@ pascal_val_print (struct type *type, char *valaddr, int embedded_offset, CHECK_TYPEDEF (type); switch (TYPE_CODE (type)) { + case TYPE_CODE_FLAGS: + return c_val_print (type, valaddr, embedded_offset, address, stream, + format, deref_ref, recurse, pretty); + case TYPE_CODE_ARRAY: if (TYPE_LENGTH (type) > 0 && TYPE_LENGTH (TYPE_TARGET_TYPE (type)) > 0) { |