diff options
Diffstat (limited to 'gdb/block.c')
-rw-r--r-- | gdb/block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/block.c b/gdb/block.c index 530d233..bab6868 100644 --- a/gdb/block.c +++ b/gdb/block.c @@ -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 (); } |