X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fdbxread.c;h=4d846990a56b37e172af9bf9dc5b55fcf4c16a09;hb=14aa4ee440f85a0e4d86b7adb50c93bbf0b7fc5b;hp=5cf77e9c08a10aeecbe5a9ea84ac761dc55b661c;hpb=0072c873792829e2be43acf8bbf1c352c266e4c7;p=binutils-gdb.git diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 5cf77e9c08a..4d846990a56 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -31,10 +31,6 @@ for real. dbx_psymtab_to_symtab() is the function that does this */ #include "defs.h" -#if defined(__CYGNUSCLIB__) -#include -#include -#endif #include "gdb_obstack.h" #include @@ -1434,10 +1430,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 new_name = cp_canonicalize_string (name.c_str ()); @@ -1449,11 +1445,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 +2396,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