aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/block.h2
-rw-r--r--gdb/config/i386/nm-x86-gnu.h4
-rwxr-xr-xgdb/contrib/check-whitespace-pre-commit.py2
-rw-r--r--gdb/dwarf2/abbrev.h2
-rw-r--r--gdb/symtab.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/gdb/block.h b/gdb/block.h
index b199663..65e2e20 100644
--- a/gdb/block.h
+++ b/gdb/block.h
@@ -496,7 +496,7 @@ struct blockvector
void set_map (addrmap_fixed *map)
{ m_map = map; }
- /* Block comparison function. Returns true if B1 must be ordered before
+ /* Block comparison function. Returns true if B1 must be ordered before
B2 in a blockvector, false otherwise. */
static bool block_less_than (const struct block *b1, const struct block *b2);
diff --git a/gdb/config/i386/nm-x86-gnu.h b/gdb/config/i386/nm-x86-gnu.h
index 0ddde30..1724f5f 100644
--- a/gdb/config/i386/nm-x86-gnu.h
+++ b/gdb/config/i386/nm-x86-gnu.h
@@ -29,9 +29,9 @@
((((struct i386_thread_state *) (state))->rfl &= ~0x100), 1)
#else
#define THREAD_STATE_SET_TRACED(state) \
- ((struct i386_thread_state *) (state))->efl |= 0x100
+ ((struct i386_thread_state *) (state))->efl |= 0x100
#define THREAD_STATE_CLEAR_TRACED(state) \
- ((((struct i386_thread_state *) (state))->efl &= ~0x100), 1)
+ ((((struct i386_thread_state *) (state))->efl &= ~0x100), 1)
#endif /* __x86_64__ */
#endif /* GDB_CONFIG_I386_NM_X86_GNU_H */
diff --git a/gdb/contrib/check-whitespace-pre-commit.py b/gdb/contrib/check-whitespace-pre-commit.py
index 023a5d2..3045b3e 100755
--- a/gdb/contrib/check-whitespace-pre-commit.py
+++ b/gdb/contrib/check-whitespace-pre-commit.py
@@ -18,7 +18,7 @@ import re
import subprocess
import sys
-re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac)$)")
+re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|h)$)")
clean = []
other = []
diff --git a/gdb/dwarf2/abbrev.h b/gdb/dwarf2/abbrev.h
index a36bb8c..6994e7f 100644
--- a/gdb/dwarf2/abbrev.h
+++ b/gdb/dwarf2/abbrev.h
@@ -145,7 +145,7 @@ private:
/* Hash table of abbrev, identified by their number. */
gdb::unordered_set<const abbrev_info *,
- abbrev_info_number_hash,
+ abbrev_info_number_hash,
abbrev_info_number_eq>
m_abbrevs;
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 45aca07..9336f5d 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1908,7 +1908,7 @@ struct compunit_symtab : intrusive_list_node<compunit_symtab>
/* Set m_blockvector. */
void set_blockvector (std::unique_ptr<struct blockvector> blockvector);
-
+
bool locations_valid () const
{
return m_locations_valid;