aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-09-09 17:23:55 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-09-09 17:23:55 +0000
commit49e794ac6235d43615f123d660113873ee3049ec (patch)
treeb470349c0eea1456fcae165050f1b80cf30c684e /gdb/blockframe.c
parent52c745b5d3f4dc981e404858aa1ead14cbda882e (diff)
downloadgdb-49e794ac6235d43615f123d660113873ee3049ec.zip
gdb-49e794ac6235d43615f123d660113873ee3049ec.tar.gz
gdb-49e794ac6235d43615f123d660113873ee3049ec.tar.bz2
* block.c (contained_in): Return zero for nested functions.
* blockframe.c (block_innermost_frame): Delete unreferenced local variable.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 41a3502..0960837 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -363,7 +363,6 @@ block_innermost_frame (struct block *block)
struct frame_info *frame;
CORE_ADDR start;
CORE_ADDR end;
- CORE_ADDR calling_pc;
if (block == NULL)
return NULL;