This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Move interpreter_p declaration to main.h
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 08 May 2019 19:56:05 -0400
- Subject: [binutils-gdb] Move interpreter_p declaration to main.h
*** TEST RESULTS FOR COMMIT b0be6c912f9e901a87740c72f18be1e54ad5267d ***
Author: Tom Tromey <tromey@adacore.com>
Branch: master
Commit: b0be6c912f9e901a87740c72f18be1e54ad5267d
Move interpreter_p declaration to main.h
This moves the interpreter_p declaration from defs.h to main.h. I
think this makes more sense, as it is defined in main.c. Also, this
declaration was in the wrong place -- between a comment and the things
the comment described.
gdb/ChangeLog
2019-05-08 Tom Tromey <tromey@adacore.com>
* tui/tui-interp.c: Include main.h.
* interps.c: Include main.h.
* main.h (interpreter_p): Declare.
* defs.h (interpreter_p): Don't declare.