Skip to content

Commit 051e5c3

Browse files
committed
spelling
1 parent c029d1d commit 051e5c3

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
CMakeLists.txt.user*
22
build
3-
.vscode/

.vscode/settings.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"files.associations": {
3+
"system_error": "cpp"
4+
},
5+
"cSpell.words": [
6+
"Teran"
7+
]
8+
}

src/Debugger.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -2338,11 +2338,11 @@ edb::EventStatus Debugger::handleTrap(const std::shared_ptr<IDebugEvent> &event)
23382338
if (bp->internal() && bp->tag == ld_loader_tag) {
23392339

23402340
if (dynamicInfoBreakpointSet_) {
2341-
if (debugtPointer_) {
2341+
if (debugPointer_) {
23422342
if (edb::v1::debuggeeIs32Bit()) {
2343-
handle_library_event<uint32_t>(process, debugtPointer_);
2343+
handle_library_event<uint32_t>(process, debugPointer_);
23442344
} else {
2345-
handle_library_event<uint64_t>(process, debugtPointer_);
2345+
handle_library_event<uint64_t>(process, debugPointer_);
23462346
}
23472347
}
23482348
}
@@ -2987,7 +2987,7 @@ void Debugger::setInitialDebuggerState() {
29872987
reenableBreakpointStep_ = nullptr;
29882988

29892989
#ifdef Q_OS_LINUX
2990-
debugtPointer_ = 0;
2990+
debugPointer_ = 0;
29912991
dynamicInfoBreakpointSet_ = false;
29922992
#endif
29932993

@@ -3546,9 +3546,9 @@ void Debugger::nextDebugEvent() {
35463546
#if defined(Q_OS_LINUX)
35473547
if (!dynamicInfoBreakpointSet_) {
35483548
if (IProcess *process = edb::v1::debugger_core->process()) {
3549-
if (debugtPointer_ == 0) {
3550-
if ((debugtPointer_ = process->debugPointer()) != 0) {
3551-
edb::address_t r_brk = edb::v1::debuggeeIs32Bit() ? find_linker_hook_address<uint32_t>(process, debugtPointer_) : find_linker_hook_address<uint64_t>(process, debugtPointer_);
3549+
if (debugPointer_ == 0) {
3550+
if ((debugPointer_ = process->debugPointer()) != 0) {
3551+
edb::address_t r_brk = edb::v1::debuggeeIs32Bit() ? find_linker_hook_address<uint32_t>(process, debugPointer_) : find_linker_hook_address<uint64_t>(process, debugPointer_);
35523552

35533553
if (r_brk) {
35543554
// TODO(eteran): this is equivalent to ld-2.23.so!_dl_debug_state

src/Debugger.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ private Q_SLOTS:
322322
bool stackViewLocked_ = false;
323323

324324
#if defined(Q_OS_LINUX)
325-
edb::address_t debugtPointer_ = 0;
325+
edb::address_t debugPointer_ = 0;
326326
bool dynamicInfoBreakpointSet_ = false;
327327
#endif
328328

0 commit comments

Comments
 (0)