gdb: Remove duplicate declaration of global innermost_block
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 18 Oct 2017 18:04:17 +0000 (19:04 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sun, 21 Jan 2018 15:15:47 +0000 (15:15 +0000)
commit396af9a1527b396c251e70b5c79b5fc83fd1d7ff
treec34231aa1e089ec6e51ea26e5dcad7353cb7278b
parentb1b189e04cb5ea5da1cbb07bd6cceccd4d2ac969
gdb: Remove duplicate declaration of global innermost_block

The global 'innermost_block' is declared in two header files.  Remove
one of the declarations, and add an include of the other header into
the one source file that could no longer see a declaration of
'innermost_block'.

gdb/ChangeLog:

* expression.h (innermost_block): Remove declaration.
* varobj.c: Add 'parser-defs.h' include.
gdb/ChangeLog
gdb/expression.h
gdb/varobj.c