aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/expr.c')
-rw-r--r--gdb/dwarf2/expr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dwarf2/expr.c b/gdb/dwarf2/expr.c
index 9bf7413..ab511d5 100644
--- a/gdb/dwarf2/expr.c
+++ b/gdb/dwarf2/expr.c
@@ -366,7 +366,7 @@ base_types_equal_p (struct type *t1, struct type *t2)
{
if (t1->code () != t2->code ())
return 0;
- if (TYPE_UNSIGNED (t1) != TYPE_UNSIGNED (t2))
+ if (t1->is_unsigned () != t2->is_unsigned ())
return 0;
return TYPE_LENGTH (t1) == TYPE_LENGTH (t2);
}
@@ -1087,7 +1087,7 @@ dwarf_expr_context::execute_stack_op (const gdb_byte *op_ptr,
case DW_OP_shr:
dwarf_require_integral (value_type (first));
dwarf_require_integral (value_type (second));
- if (!TYPE_UNSIGNED (value_type (first)))
+ if (!value_type (first)->is_unsigned ())
{
struct type *utype
= get_unsigned_type (this->gdbarch, value_type (first));
@@ -1104,7 +1104,7 @@ dwarf_expr_context::execute_stack_op (const gdb_byte *op_ptr,
case DW_OP_shra:
dwarf_require_integral (value_type (first));
dwarf_require_integral (value_type (second));
- if (TYPE_UNSIGNED (value_type (first)))
+ if (value_type (first)->is_unsigned ())
{
struct type *stype
= get_signed_type (this->gdbarch, value_type (first));