aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorGabriel Ravier <gabravier@gmail.com>2022-09-13 09:32:02 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-09-13 10:38:38 -0700
commit7240436c94bd02762a723a2e3551528d16c8efdb (patch)
tree12fea014e8b5cb318be64d038659e14a875869c1 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentc5197517305a09c9a2d623a5f496c64d8431e6bf (diff)
downloadllvm-7240436c94bd02762a723a2e3551528d16c8efdb.zip
llvm-7240436c94bd02762a723a2e3551528d16c8efdb.tar.gz
llvm-7240436c94bd02762a723a2e3551528d16c8efdb.tar.bz2
[lldb] Fixed a number of typos
I went over the output of the following mess of a command: (ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less) and proceeded to spend a few days looking at it to find probable typos and fixed a few hundred of them in all of the llvm project (note, the ones I found are not anywhere near all of them, but it seems like a good start). Differential revision: https://reviews.llvm.org/D131122
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index d0f98462..7feffba 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -949,8 +949,8 @@ void ProcessGDBRemote::DidLaunchOrAttach(ArchSpec &process_arch) {
process_arch.GetTriple().getTriple());
}
- if (int addresssable_bits = m_gdb_comm.GetAddressingBits()) {
- lldb::addr_t address_mask = ~((1ULL << addresssable_bits) - 1);
+ if (int addressable_bits = m_gdb_comm.GetAddressingBits()) {
+ lldb::addr_t address_mask = ~((1ULL << addressable_bits) - 1);
SetCodeAddressMask(address_mask);
SetDataAddressMask(address_mask);
}