gdb: remove BLOCK_FUNCTION macro
Replace with equivalent methods. Change-Id: I31ec00f5bf85335c8b23d306ca0fe0b84d489101
This commit is contained in:
parent
4b8791e10e
commit
6c00f721c8
24 changed files with 74 additions and 69 deletions
|
@ -2615,7 +2615,7 @@ info_scope_command (const char *args_in, int from_tty)
|
|||
gdb_printf (", length %s.\n", pulongest (TYPE_LENGTH (t)));
|
||||
}
|
||||
}
|
||||
if (BLOCK_FUNCTION (block))
|
||||
if (block->function ())
|
||||
break;
|
||||
else
|
||||
block = BLOCK_SUPERBLOCK (block);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue