diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-23 09:23:00 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2024-04-23 11:26:14 -0400 |
commit | dcff5e80e6672ad09c413ad2a3003de01b91ad6b (patch) | |
tree | a8f5d6189898fc6e357a55cdf6f2fe6cb6639c42 /gdb/main.c | |
parent | e5dc0d5d04e68328242fc171098e78f79589c7b7 (diff) | |
download | binutils-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.zip binutils-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.tar.gz binutils-dcff5e80e6672ad09c413ad2a3003de01b91ad6b.tar.bz2 |
gdb: move annotation_level declaration/definition to annotate.{h,c}
The declaration of annotation_level is currently in defs.h, while the
definition is in stack.c. I don't really understand why that variable
would live in stack.c, it seems completely unrelated. Move it to
annotate.c, and move the declaration to annotate.h.
Change-Id: I6cf8e9bd20e83959bdf5ad58dd008b6e1187d7d8
Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17,6 +17,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#include "annotate.h" #include "top.h" #include "ui.h" #include "target.h" |