aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-13 22:44:02 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-13 22:44:02 +0000
commitcc59ec59c88e97e6e674db776fed9b197dffce33 (patch)
tree8f3fb96ce8b0cc4479064a30a58ddcc621d5dedc /gdb/blockframe.c
parentb6de9da4445784d502e39b69359ae2cb5304589b (diff)
downloadgdb-cc59ec59c88e97e6e674db776fed9b197dffce33.zip
gdb-cc59ec59c88e97e6e674db776fed9b197dffce33.tar.gz
gdb-cc59ec59c88e97e6e674db776fed9b197dffce33.tar.bz2
2010-05-13 Michael Snyder <msnyder@vmware.com>
* blockframe.c: White space. * breakpoint.c: White space. * buildsym.c: White space.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c1
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);