Changeset View
Changeset View
Standalone View
Standalone View
debuggers/lldb/lldbcommand.cpp
Show First 20 Lines • Show All 173 Lines • ▼ Show 20 Line(s) | 173 | if (command_.startsWith(env_name)) { | |||
---|---|---|---|---|---|
174 | command_ = command_.mid(env_name.length()); | 174 | command_ = command_.mid(env_name.length()); | ||
175 | overrideCmd = "settings set target.env-vars"; | 175 | overrideCmd = "settings set target.env-vars"; | ||
176 | } else if (command_.startsWith(disassembly_flavor)) { | 176 | } else if (command_.startsWith(disassembly_flavor)) { | ||
177 | command_ = command_.mid(disassembly_flavor.length()); | 177 | command_ = command_.mid(disassembly_flavor.length()); | ||
178 | overrideCmd = "settings set target.x86-disassembly-flavor"; | 178 | overrideCmd = "settings set target.x86-disassembly-flavor"; | ||
179 | } | 179 | } | ||
180 | break; | 180 | break; | ||
181 | } | 181 | } | ||
182 | // find the postion to insert '-f' | 182 | // find the position to insert '-f' | ||
183 | case BreakInsert: { | 183 | case BreakInsert: { | ||
184 | if (!overrideCmd.isEmpty()) { | 184 | if (!overrideCmd.isEmpty()) { | ||
185 | // already done | 185 | // already done | ||
186 | break; | 186 | break; | ||
187 | } | 187 | } | ||
188 | int p = command_.length() - 1; | 188 | int p = command_.length() - 1; | ||
189 | bool quoted = false; | 189 | bool quoted = false; | ||
190 | if (command_[p] == '"') { | 190 | if (command_[p] == '"') { | ||
Show All 39 Lines |