summaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-29 00:15:48 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-29 00:15:48 +0000
commit5fd998f1d28ca31c710a0be7c3e040e5f024b9e5 (patch)
treef3bbb58b486f87f75b678728124f2a11e8b1940f /gdb/blockframe.c
parent3be8dd74ab327d7f1e32b975a6fa978ec620dd44 (diff)
downloadgdb-5fd998f1d28ca31c710a0be7c3e040e5f024b9e5.tar.gz
2002-11-28 Andrew Cagney <cagney@redhat.com>
* stack.c (get_selected_block): In-line get_current_block. * frame.h (get_current_block): Delete declaration. * blockframe.c (get_current_block): Delete function.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 8aa4ae90e49..318d5d4195a 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -247,17 +247,6 @@ get_frame_block (struct frame_info *frame, CORE_ADDR *addr_in_block)
return block_for_pc (pc);
}
-struct block *
-get_current_block (CORE_ADDR *addr_in_block)
-{
- CORE_ADDR pc = read_pc ();
-
- if (addr_in_block)
- *addr_in_block = pc;
-
- return block_for_pc (pc);
-}
-
CORE_ADDR
get_pc_function_start (CORE_ADDR pc)
{