diff --git a/print_fields.h b/print_fields.h index 2441defb..0ca9dfc9 100644 --- a/print_fields.h +++ b/print_fields.h @@ -128,4 +128,10 @@ print_dev_t((where_).field_); \ } while (0) +#define PRINT_FIELD_PTR(prefix_, where_, field_) \ + do { \ + STRACE_PRINTF("%s%s=", (prefix_), #field_); \ + printaddr((mpers_ptr_t) (where_).field_); \ + } while (0) + #endif /* !STRACE_PRINT_FIELDS_H */