mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-15 20:08:23 +00:00
Replace symbol_arch with symbol::arch
This turns symbol_arch into a method on symbol.
This commit is contained in:
@@ -60,7 +60,7 @@ struct gdbarch *
|
||||
block_gdbarch (const struct block *block)
|
||||
{
|
||||
if (BLOCK_FUNCTION (block) != NULL)
|
||||
return symbol_arch (BLOCK_FUNCTION (block));
|
||||
return BLOCK_FUNCTION (block)->arch ();
|
||||
|
||||
return block_objfile (block)->arch ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user