]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/inline-frame.c
gdb: remove BLOCK_SUPERBLOCK macro
[thirdparty/binutils-gdb.git] / gdb / inline-frame.c
index 95cc80b7a1c18e9275ada1c6a52dc06295d03075..bd173a1d21b75adcdc3abfc59fb61998ebf249f1 100644 (file)
@@ -226,14 +226,14 @@ inline_frame_sniffer (const struct frame_unwind *self,
      location.  */
   depth = 0;
   cur_block = frame_block;
-  while (BLOCK_SUPERBLOCK (cur_block))
+  while (cur_block->superblock ())
     {
       if (block_inlined_p (cur_block))
        depth++;
       else if (cur_block->function () != NULL)
        break;
 
-      cur_block = BLOCK_SUPERBLOCK (cur_block);
+      cur_block = cur_block->superblock ();
     }
 
   /* Check how many inlined functions already have frames.  */
@@ -356,7 +356,7 @@ skip_inline_frames (thread_info *thread, bpstat *stop_chain)
   if (frame_block != NULL)
     {
       cur_block = frame_block;
-      while (BLOCK_SUPERBLOCK (cur_block))
+      while (cur_block->superblock ())
        {
          if (block_inlined_p (cur_block))
            {
@@ -380,7 +380,7 @@ skip_inline_frames (thread_info *thread, bpstat *stop_chain)
          else if (cur_block->function () != NULL)
            break;
 
-         cur_block = BLOCK_SUPERBLOCK (cur_block);
+         cur_block = cur_block->superblock ();
        }
     }