diff options
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index a9550b4..0348bf4 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -137,6 +137,7 @@ struct symbol * find_pc_sect_function (CORE_ADDR pc, struct obj_section *section) { struct block *b = block_for_pc_sect (pc, section); + if (b == 0) return 0; return block_linkage_function (b); |