diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-03-09 14:56:09 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-03-09 16:32:00 -0500 |
commit | 287de65625a667b6403d0606fa75b67926ec7230 (patch) | |
tree | a4911b3dc540ba6a54e0aebbbe972cec6f1d8be1 /gdb/symtab.c | |
parent | 2562954ede66f32bff7d985e752b8052c2ae5775 (diff) | |
download | fsf-binutils-gdb-287de65625a667b6403d0606fa75b67926ec7230.zip fsf-binutils-gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.gz fsf-binutils-gdb-287de65625a667b6403d0606fa75b67926ec7230.tar.bz2 |
gdb, gdbserver, gdbsupport: fix whitespace issues
Replace spaces with tabs in a bunch of places.
Change-Id: If0f87180f1d13028dc178e5a8af7882a067868b0
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 507d798..568a0c5 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -3771,7 +3771,7 @@ skip_prologue_sal (struct symtab_and_line *sal) pc = saved_pc; /* Check if the compiler explicitly indicated where a breakpoint should - be placed to skip the prologue. */ + be placed to skip the prologue. */ if (!ignore_prologue_end_flag && skip) { gdb::optional<CORE_ADDR> linetable_pc @@ -4153,7 +4153,7 @@ operator_chars (const char *p, const char **end) /* See class declaration. */ info_sources_filter::info_sources_filter (match_on match_type, - const char *regexp) + const char *regexp) : m_match_type (match_type), m_regexp (regexp) { @@ -4182,23 +4182,23 @@ info_sources_filter::matches (const char *fullname) const std::string dirname; switch (m_match_type) - { - case match_on::DIRNAME: - dirname = ldirname (fullname); - to_match = dirname.c_str (); - break; - case match_on::BASENAME: - to_match = lbasename (fullname); - break; - case match_on::FULLNAME: - to_match = fullname; - break; + { + case match_on::DIRNAME: + dirname = ldirname (fullname); + to_match = dirname.c_str (); + break; + case match_on::BASENAME: + to_match = lbasename (fullname); + break; + case match_on::FULLNAME: + to_match = fullname; + break; default: gdb_assert_not_reached ("bad m_match_type"); - } + } if (m_c_regexp->exec (to_match, 0, NULL, 0) != 0) - return false; + return false; } return true; |