]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: move annotation_level declaration/definition to annotate.{h,c}
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 13:23:00 +0000 (09:23 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Apr 2024 15:26:14 +0000 (11:26 -0400)
commitdcff5e80e6672ad09c413ad2a3003de01b91ad6b
treea8f5d6189898fc6e357a55cdf6f2fe6cb6639c42
parente5dc0d5d04e68328242fc171098e78f79589c7b7
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>
gdb/annotate.c
gdb/annotate.h
gdb/defs.h
gdb/main.c
gdb/stack.c