common/
[deliverable/binutils-gdb.git] / gdb / blockframe.c
index 41a35022864e42ca14dd543b0659acc0af95ef14..d8efa7b76fd6998629749399bc619fc7c8a4e8e3 100644 (file)
@@ -2,8 +2,8 @@
    functions and pc values.
 
    Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
-   1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, 2008, 2009
-   Free Software Foundation, Inc.
+   1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2007, 2008, 2009,
+   2010 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
 #include "block.h"
 #include "inline-frame.h"
 
-/* Prototypes for exported functions. */
-
-void _initialize_blockframe (void);
-
 /* Return the innermost lexical block in execution
    in a specified stack frame.  The frame address is assumed valid.
 
@@ -253,9 +249,9 @@ find_pc_partial_function (CORE_ADDR pc, char **name, CORE_ADDR *address,
          psb = find_pc_sect_psymbol (pst, mapped_pc, section);
 
          if (psb
-             && (msymbol == NULL ||
-                 (SYMBOL_VALUE_ADDRESS (psb)
-                  >= SYMBOL_VALUE_ADDRESS (msymbol))))
+             && (msymbol == NULL
+                 || (SYMBOL_VALUE_ADDRESS (psb)
+                     >= SYMBOL_VALUE_ADDRESS (msymbol))))
            {
              /* This case isn't being cached currently. */
              if (address)
@@ -363,7 +359,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;
This page took 0.024135 seconds and 4 git commands to generate.