Move block_found decl to symtab.h.
authorDoug Evans <xdje42@gmail.com>
Sun, 26 Oct 2014 17:42:26 +0000 (10:42 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 26 Oct 2014 17:42:26 +0000 (10:42 -0700)
gdb/ChangeLog:

* parser-defs.h (block_found): Move decl from here ...
* symtab.h (block_found): ... to here.

gdb/ChangeLog
gdb/parser-defs.h
gdb/symtab.h

index 62c015d0145919ff3cf4f6f3735d1be19d8cb00a..fd417f787bebac516f6a3daec9d48cdef2905ceb 100644 (file)
@@ -1,3 +1,8 @@
+2014-10-26  Doug Evans  <xdje42@gmail.com>
+
+       * parser-defs.h (block_found): Move decl from here ...
+       * symtab.h (block_found): ... to here.
+
 2014-10-26  Doug Evans  <xdje42@gmail.com>
 
        * symtab.h (struct field_of_this_result): Fix typo in comment.
index e43b1aee1a30d57333869d9c35452b6658dde9fe..2ba6e056d46ccc44ad6e5026c6dfff1e2a9b8064 100644 (file)
@@ -67,11 +67,6 @@ extern CORE_ADDR expression_context_pc;
    we've encountered so far.  */
 extern const struct block *innermost_block;
 
-/* The block in which the most recently discovered symbol was found.
-   FIXME: Should be declared along with lookup_symbol in symtab.h; is not
-   related specifically to parsing.  */
-extern const struct block *block_found;
-
 /* Number of arguments seen so far in innermost function call.  */
 extern int arglist_len;
 
index 9d1aa98ea22d6aa0c98bba52c4bee51aa97556d8..73108f02015df4e03938fa47f2a4a1ecb1044d32 100644 (file)
@@ -1011,6 +1011,10 @@ DEF_VEC_P (symtab_ptr);
 
 extern int currently_reading_symtab;
 
+/* The block in which the most recently looked up symbol was found.  */
+
+extern const struct block *block_found;
+
 /* symtab.c lookup functions */
 
 extern const char multiple_symbols_ask[];
This page took 0.032397 seconds and 4 git commands to generate.