Update gdb.ada/variant_record_packed_array
[deliverable/binutils-gdb.git] / gdb / bfin-tdep.c
index 6d4859a082b3092f968663d8aecfa57f9bc08df2..4eb5763c0f29ca23ed0d3596241c671d4f935891 100644 (file)
@@ -615,7 +615,7 @@ bfin_extract_return_value (struct type *type,
   ULONGEST tmp;
   int regno = BFIN_R0_REGNUM;
 
-  gdb_assert (TYPE_LENGTH (type) <= 8);
+  gdb_assert (len <= 8);
 
   while (len > 0)
     {
@@ -643,7 +643,7 @@ bfin_store_return_value (struct type *type,
   int len = TYPE_LENGTH (type);
   int regno = BFIN_R0_REGNUM;
 
-  gdb_assert (TYPE_LENGTH (type) <= 8);
+  gdb_assert (len <= 8);
 
   while (len > 0)
     {
This page took 0.036706 seconds and 4 git commands to generate.