[binutils-gdb] Fix indentation in coffread.c
Tom Tromey
tromey@sourceware.org
Tue Jan 20 15:52:28 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5189432c9b209e855fb104ac60ac843194c97ee2
commit 5189432c9b209e855fb104ac60ac843194c97ee2
Author: Tom Tromey <tromey@adacore.com>
Date: Fri Jan 16 11:03:54 2026 -0700
Fix indentation in coffread.c
A couple of spots in coffread.c were indented incorrectly. This also
fixes the placement of a comment in coff_symbol.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diff:
---
gdb/coffread.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gdb/coffread.c b/gdb/coffread.c
index b0c4a073df3..cc4bb3e9049 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -69,15 +69,15 @@ static int pe_file;
/* Simplified internal version of coff symbol table information. */
struct coff_symbol
- {
- const char *c_name;
- int c_naux; /* 0 if syment only, 1 if syment +
- auxent, etc. */
- CORE_ADDR c_value;
- int c_sclass;
- int c_secnum;
- unsigned int c_type;
- };
+{
+ const char *c_name;
+ /* 0 if syment only, 1 if syment + auxent, etc. */
+ int c_naux;
+ CORE_ADDR c_value;
+ int c_sclass;
+ int c_secnum;
+ unsigned int c_type;
+};
static char *stringtab = NULL;
static long stringtab_length = 0;
@@ -298,7 +298,7 @@ coff_symfile_read (struct objfile *objfile, symfile_add_flags symfile_flags)
symfile_bfd = abfd; /* Kludge for swap routines. */
-/* WARNING WILL ROBINSON! ACCESSING BFD-PRIVATE DATA HERE! FIXME! */
+ /* WARNING WILL ROBINSON! ACCESSING BFD-PRIVATE DATA HERE! FIXME! */
num_symbols = bfd_get_symcount (abfd); /* How many syms */
symtab_offset = cdata->sym_filepos; /* Symbol table file offset */
stringtab_offset = symtab_offset + /* String table file offset */
More information about the Gdb-cvs
mailing list