aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-05-27 15:18:49 -0400
commit24b21115f522cd0fbe55986cd914a593576294ef (patch)
tree6f2f71d9ede68e21d0371cc5db25b50d64de53af /gdb/dbxread.c
parent01add95bed9afd5e7815439c3967db976be53f80 (diff)
downloadbinutils-24b21115f522cd0fbe55986cd914a593576294ef.zip
binutils-24b21115f522cd0fbe55986cd914a593576294ef.tar.gz
binutils-24b21115f522cd0fbe55986cd914a593576294ef.tar.bz2
gdb: fix tab after space indentation issues
I spotted some indentation issues where we had some spaces followed by tabs at beginning of line, that I wanted to fix. So while at it, I did a quick grep to find and fix all I could find. gdb/ChangeLog: * Fix tab after space indentation issues throughout. Change-Id: I1acb414dd9c593b474ae2b8667496584df4316fd
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 5cf77e9..cf35880 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1434,10 +1434,10 @@ read_dbx_symtab (minimal_symbol_reader &reader,
if (!p)
continue; /* Not a debugging symbol. */
- sym_len = 0;
+ sym_len = 0;
sym_name = NULL; /* pacify "gcc -Werror" */
- if (psymtab_language == language_cplus)
- {
+ if (psymtab_language == language_cplus)
+ {
std::string name (namestring, p - namestring);
gdb::unique_xmalloc_ptr<char> new_name
= cp_canonicalize_string (name.c_str ());
@@ -1449,11 +1449,11 @@ read_dbx_symtab (minimal_symbol_reader &reader,
}
}
- if (sym_len == 0)
- {
- sym_name = namestring;
- sym_len = p - namestring;
- }
+ if (sym_len == 0)
+ {
+ sym_name = namestring;
+ sym_len = p - namestring;
+ }
/* Main processing section for debugging symbols which
the initial read through the symbol tables needs to worry
@@ -2400,10 +2400,10 @@ process_one_symbol (int type, int desc, CORE_ADDR valu, const char *name,
struct block *block;
if (outermost_context_p ())
- {
+ {
lbrac_mismatch_complaint (symnum);
- break;
- }
+ break;
+ }
/* The following check is added before recording line 0 at
end of function so as to handle hand-generated stabs