From: Simon Marchi Date: Fri, 19 Dec 2025 18:43:41 +0000 (-0500) Subject: gdb/buildsym: fix indentation of struct context_stack X-Git-Tag: binutils-2_46~442 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3cfc597062cb261b3b6072b34eda93dadbe0f36;p=thirdparty%2Fbinutils-gdb.git gdb/buildsym: fix indentation of struct context_stack While at it, fixup some comments, remove unnecessary empty lines, remove unnecessary struct keywords. Change-Id: I67a4c8302dfca46417d5f46f5dc0378a066f80c4 Approved-By: Tom Tromey --- diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 946d39583b1..456489f1b30 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -85,37 +85,29 @@ struct pending blocks, eventually). */ struct context_stack - { - /* Outer locals at the time we entered */ - - struct pending *locals; - - /* Pending using directives at the time we entered. */ - - struct using_direct *local_using_directives; - - /* Pointer into blocklist as of entry */ - - struct pending_block *old_blocks; - - /* Name of function, if any, defining context */ - - struct symbol *name; - - /* Expression that computes the frame base of the lexically enclosing - function, if any. NULL otherwise. */ +{ + /* Outer locals at the time we entered. */ + pending *locals; - struct dynamic_prop *static_link; + /* Pending using directives at the time we entered. */ + using_direct *local_using_directives; - /* PC where this context starts */ + /* Pointer into blocklist as of entry. */ + pending_block *old_blocks; - CORE_ADDR start_addr; + /* Name of function, if any, defining context. */ + symbol *name; - /* For error-checking matching push/pop */ + /* Expression that computes the frame base of the lexically enclosing + function, if any. NULL otherwise. */ + dynamic_prop *static_link; - int depth; + /* PC where this context starts. */ + CORE_ADDR start_addr; - }; + /* For error-checking matching push/pop. */ + int depth; +}; /* Flags associated with a linetable entry. */