File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
lldb/tools/debugserver/source/MacOSX/arm Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,15 @@ static uint32_t LoHi[16] = {0};
105
105
#define MNEMONIC_STRING_SIZE 32
106
106
#define OPERAND_STRING_SIZE 128
107
107
108
+ #if !defined(__arm64__) && !defined(__aarch64__)
108
109
// Returns true if the first 16 bit opcode of a thumb instruction indicates
109
110
// the instruction will be a 32 bit thumb opcode
110
111
static bool IsThumb32Opcode (uint16_t opcode) {
111
112
if (((opcode & 0xE000 ) == 0xE000 ) && (opcode & 0x1800 ))
112
113
return true ;
113
114
return false ;
114
115
}
116
+ #endif
115
117
116
118
void DNBArchMachARM::Initialize () {
117
119
DNBArchPluginInfo arch_plugin_info = {
@@ -315,6 +317,7 @@ kern_return_t DNBArchMachARM::GetEXCState(bool force) {
315
317
return kret;
316
318
}
317
319
320
+ #if 0
318
321
static void DumpDBGState(const DNBArchMachARM::DBG &dbg) {
319
322
uint32_t i = 0;
320
323
for (i = 0; i < 16; i++) {
@@ -324,6 +327,7 @@ static void DumpDBGState(const DNBArchMachARM::DBG &dbg) {
324
327
dbg.__wcr[i]);
325
328
}
326
329
}
330
+ #endif
327
331
328
332
kern_return_t DNBArchMachARM::GetDBGState (bool force) {
329
333
int set = e_regSetDBG;
You can’t perform that action at this time.
0 commit comments