LOG_TARGET_ERROR is only used within OpenOCD.
 
Symbols
loading...
Files
loading...

LOG_TARGET_ERROR macro

Syntax

#define LOG_TARGET_ERROR(target, fmt_str, ...) \     LOG_ERROR("[%s] " fmt_str, target_name(target), ##__VA_ARGS__)

Arguments

target

fmt_str

References

LocationText
log.h:158
#define LOG_TARGET_ERROR(target, fmt_str, ...) \
aarch64.c:864
LOG_TARGET_ERROR(target, "not halted");
aarch64.c:1116
LOG_TARGET_ERROR(target, "not halted");
aarch64.c:2179
LOG_TARGET_ERROR(target, "not halted");
aarch64.c:2422
LOG_TARGET_ERROR(target, "not halted");
aarch64.c:2717
LOG_TARGET_ERROR(target, "CTI not specified");
aarch64.c:2877
LOG_TARGET_ERROR(target, "not halted");
arc.c:1291
LOG_TARGET_ERROR(target, "not halted");
arc.c:1731
LOG_TARGET_ERROR(target, "not halted (add breakpoint)");
arc.c:1743
LOG_TARGET_ERROR(target, "not halted (remove breakpoint)");
arc.c:1979
LOG_TARGET_ERROR(target, "not halted");
arc.c:1992
LOG_TARGET_ERROR(target, "not halted");
arc.c:2096
LOG_TARGET_ERROR(target, "not halted");
arc_mem.c:165
LOG_TARGET_ERROR(target, "not halted");
arm11.c:452
LOG_TARGET_ERROR(target, "not halted");
arm11.c:554
LOG_TARGET_ERROR(target, "not halted");
arm11.c:801
LOG_TARGET_ERROR(target, "not halted");
arm11.c:899
LOG_TARGET_ERROR(target, "not halted");
arm720t.c:244
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:187
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:459
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:528
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:1263
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:1394
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:1510
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:1713
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:1911
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:2122
LOG_TARGET_ERROR(target, "not halted");
arm7_9_common.c:2295
LOG_TARGET_ERROR(target, "not halted");
arm920t.c:536
LOG_TARGET_ERROR(target, "not halted");
arm926ejs.c:757
LOG_TARGET_ERROR(target, "not halted");
armv4_5.c:581
LOG_TARGET_ERROR(target, "not halted");
armv4_5.c:603
LOG_TARGET_ERROR(target, "not halted");
armv4_5.c:1414
LOG_TARGET_ERROR(target, "not halted (run target algo)");
armv4_5_mmu.c:111
LOG_TARGET_ERROR(target, "not halted");
armv4_5_mmu.c:141
LOG_TARGET_ERROR(target, "not halted");
armv7a_cache.c:25
LOG_TARGET_ERROR(target, "not halted");
armv7a_cache.c:43
LOG_TARGET_ERROR(target, "not halted");
armv7m.c:528
LOG_TARGET_ERROR(target, "not halted (start target algo)");
armv8.c:1126
LOG_TARGET_ERROR(target, "not halted");
avr32_ap7k.c:312
LOG_TARGET_ERROR(target, "not halted");
avr32_ap7k.c:434
LOG_TARGET_ERROR(target, "not halted");
avr32_ap7k.c:474
LOG_TARGET_ERROR(target, "not halted");
breakpoints.c:55
LOG_TARGET_ERROR(target, "Duplicate Breakpoint address: " TARGET_ADDR_FMT " (BP %" PRIu32 ")",
breakpoints.c:86
LOG_TARGET_ERROR(target, "can't add breakpoint: %s", reason);
breakpoints.c:136
LOG_TARGET_ERROR(target, "could not add breakpoint");
breakpoints.c:167
LOG_TARGET_ERROR(target, "Duplicate Hybrid Breakpoint asid: 0x%08" PRIx32 " (BP %" PRIu32 ")",
breakpoints.c:171
LOG_TARGET_ERROR(target, "Duplicate Breakpoint IVA: " TARGET_ADDR_FMT " (BP %" PRIu32 ")",
breakpoints.c:192
LOG_TARGET_ERROR(target, "could not add breakpoint");
breakpoints.c:295
LOG_TARGET_ERROR(target, "could not remove breakpoint #%d on this target",
breakpoints.c:359
LOG_TARGET_ERROR(curr, "failed to remove breakpoint at address " TARGET_ADDR_FMT, address);
breakpoints.c:372
LOG_TARGET_ERROR(target, "failed to remove breakpoint at address " TARGET_ADDR_FMT, address);
breakpoints.c:377
LOG_TARGET_ERROR(target, "no breakpoint at address " TARGET_ADDR_FMT " found", address);
breakpoints.c:401
LOG_TARGET_ERROR(target, "could not remove watchpoint #%d on this target",
breakpoints.c:516
LOG_TARGET_ERROR(target, "address " TARGET_ADDR_FMT
breakpoints.c:550
LOG_TARGET_ERROR(target, "can't add %s watchpoint at " TARGET_ADDR_FMT ", %s",
breakpoints.c:620
LOG_TARGET_ERROR(curr, "failed to remove watchpoint at address " TARGET_ADDR_FMT, address);
breakpoints.c:632
LOG_TARGET_ERROR(target, "failed to remove watchpoint at address " TARGET_ADDR_FMT, address);
breakpoints.c:637
LOG_TARGET_ERROR(target, "no watchpoint at address " TARGET_ADDR_FMT " found", address);
cortex_a.c:1183
LOG_TARGET_ERROR(target, "not halted");
cortex_a.c:2257
LOG_TARGET_ERROR(target, "not halted");
cortex_a.c:2574
LOG_TARGET_ERROR(target, "not halted");
cortex_a.c:2974
LOG_TARGET_ERROR(target, "powered down!");
cortex_a.c:3004
LOG_TARGET_ERROR(target, "OSLock sticky, core not powered?");
cortex_a.c:3209
LOG_TARGET_ERROR(target, "not halted");
cortex_m.c:213
LOG_TARGET_ERROR(target, "Timeout waiting for DCRDR transfer ready");
cortex_m.c:432
LOG_TARGET_ERROR(target, "Timeout waiting for DCRDR transfer ready");
cortex_m.c:658
LOG_TARGET_ERROR(target, "Failed to enable the FPB");
cortex_m.c:968
LOG_TARGET_ERROR(target, "clearing lockup after double fault");
cortex_m.c:1194
LOG_TARGET_ERROR(target, "target non examined yet");
cortex_m.c:1239
LOG_TARGET_ERROR(target, "VECTRESET is not supported on this Cortex-M core");
cortex_m.c:1312
LOG_TARGET_ERROR(target, "not halted");
cortex_m.c:1454
LOG_TARGET_ERROR(target, "context restore failed, aborting resume");
cortex_m.c:1466
LOG_TARGET_ERROR(target, "resume failed");
cortex_m.c:1489
LOG_TARGET_ERROR(target, "not halted");
cortex_m.c:1881
LOG_TARGET_ERROR(target, "Debug AP not available, will not halt after reset!");
cortex_m.c:1889
LOG_TARGET_ERROR(target, "Debug AP not available, reset NOT asserted!");
cortex_m.c:1974
LOG_TARGET_ERROR(target, "DP initialisation failed");
cortex_m.c:2015
LOG_TARGET_ERROR(target, "DP initialisation failed");
cortex_m.c:2040
LOG_TARGET_ERROR(target, "Can not find free FPB Comparator!");
cortex_m.c:2047
LOG_TARGET_ERROR(target, "Cortex-M Flash Patch Breakpoint rev.1 "
cortex_m.c:2055
LOG_TARGET_ERROR(target, "Unhandled Cortex-M Flash Patch Breakpoint architecture revision");
cortex_m.c:2069
LOG_TARGET_ERROR(target, "Failed to enable the FPB");
cortex_m.c:2189
LOG_TARGET_ERROR(target, "Can not find free DWT Comparator");
cortex_m.c:2338
LOG_TARGET_ERROR(target, "not halted");
cortex_m.c:2455
LOG_TARGET_ERROR(target, "Error while reading PCSR");
cortex_m.c:2474
LOG_TARGET_ERROR(target, "Error while resuming target");
cortex_m.c:2495
LOG_TARGET_ERROR(target, "Error while reading PCSR");
cortex_m.c:2630
LOG_TARGET_ERROR(target, "out of mem");
cortex_m.c:2753
LOG_TARGET_ERROR(target, "Could not find MEM-AP to control the core");
cortex_m.c:2791
LOG_TARGET_ERROR(target, "Cortex-M CPUID: 0x%x is unrecognized", cpuid);
cortex_m.c:3076
LOG_TARGET_ERROR(target, "No memory creating target");
cortex_m.c:3132
LOG_TARGET_ERROR(target, "Target not examined yet");
cortex_m.c:3161
LOG_TARGET_ERROR(target, "No Cortex-M vector '%s'", CMD_ARGV[CMD_ARGC]);
dsp563xx.c:1299
LOG_TARGET_ERROR(target, "not halted");
dsp563xx.c:1384
LOG_TARGET_ERROR(target, "not halted (run target algo)");
dsp563xx.c:1708
LOG_TARGET_ERROR(target, "not halted");
esirisc.c:322
LOG_TARGET_ERROR(target, "not halted");
esirisc.c:861
LOG_TARGET_ERROR(target, "not halted");
esp.c:64
LOG_TARGET_ERROR(target, "Failed to read debug stubs info!");
esp32.c:150
LOG_TARGET_ERROR(head->target, "Failed to unstall CPUs before SW reset!");
esp32.c:194
LOG_TARGET_ERROR(target, "Timed out waiting for CPU to be reset, target state=%d",
esp32.c:209
LOG_TARGET_ERROR(target, "Failed to restore contents of RTC_SLOW_MEM (%d)!", res);
esp32.c:211
LOG_TARGET_ERROR(target, "Timed out waiting for CPU to be halted after SoC reset");
esp32_apptrace.c:1077
LOG_TARGET_ERROR(ctx->cpus[i], "Failed to ack empty data block!");
esp32_apptrace.c:1114
LOG_TARGET_ERROR(ctx->cpus[fired_target_num], "Failed to get free block for data!");
esp32_apptrace.c:1132
LOG_TARGET_ERROR(ctx->cpus[fired_target_num], "Failed to read data!");
esp32_apptrace.c:1170
LOG_TARGET_ERROR(ctx->cpus[i], "Failed to ack data!");
esp32_apptrace.c:1178
LOG_TARGET_ERROR(ctx->cpus[fired_target_num], "Failed to put ready block of data!");
esp32s2.c:194
LOG_TARGET_ERROR(
esp32s2.c:207
LOG_TARGET_ERROR(
esp32s2.c:218
LOG_TARGET_ERROR(target, "Couldn't halt target before SoC reset");
esp32s2.c:275
LOG_TARGET_ERROR(target, "Timed out waiting for CPU to be reset, target state=%d",
esp32s2.c:284
LOG_TARGET_ERROR(target, "Couldn't halt target before SoC reset");
esp32s3.c:147
LOG_TARGET_ERROR(head->target, "Failed to unstall CPUs before SW reset!");
esp32s3.c:194
LOG_TARGET_ERROR(target,
esp32s3.c:210
LOG_TARGET_ERROR(target, "Failed to restore contents of RTC_SLOW_MEM (%d)!", res);
esp32s3.c:212
LOG_TARGET_ERROR(target, "Timed out waiting for CPU to be halted after SoC reset");
esp_xtensa.c:219
LOG_TARGET_ERROR(target, "Error while resuming target");
esp_xtensa.c:233
LOG_TARGET_ERROR(target, "Failed to read DEBUGPC!");
esp_xtensa_semihosting.c:62
LOG_TARGET_ERROR(target, "Failed to read break instruction!");
esp_xtensa_semihosting.c:89
LOG_TARGET_ERROR(target, "Semihosting operation (op: 0x%x) error! Code: %d",
esp_xtensa_smp.c:394
LOG_TARGET_ERROR(target, "Failed to prepare for resume!");
esp_xtensa_smp.c:408
LOG_TARGET_ERROR(target, "Failed to resume!");
gdb_server.c:1070
LOG_TARGET_ERROR(target, "Target not examined yet, refuse gdb connection %d!",
hla_target.c:452
LOG_TARGET_ERROR(target, "not halted");
hla_target.c:541
LOG_TARGET_ERROR(target, "not halted");
hwthread.c:307
LOG_TARGET_ERROR(curr, "Target hasn't been examined yet.");
mips32.c:618
LOG_TARGET_ERROR(target, "not halted (run target algo)");
mips_m4k.c:145
LOG_TARGET_ERROR(curr, "halt failed.");
mips_m4k.c:415
LOG_TARGET_ERROR(curr, "failed to resume at address: 0x%" PRIx32,
mips_mips64.c:609
LOG_TARGET_ERROR(target, "not halted");
mips_mips64.c:709
LOG_TARGET_ERROR(target, "not halted");
mips_mips64.c:807
LOG_TARGET_ERROR(target, "not halted");
mips_mips64.c:868
LOG_TARGET_ERROR(target, "not halted");
mips_mips64.c:889
LOG_TARGET_ERROR(target, "not halted");
mips_mips64.c:1017
LOG_TARGET_ERROR(target, "not halted");
npcx.c:93
LOG_TARGET_ERROR(target, "Invalid working address");
npcx.c:105
LOG_TARGET_ERROR(target, "Failed to load flash helper algorithm");
npcx.c:120
LOG_TARGET_ERROR(target, "Failed to start flash helper algorithm");
npcx.c:172
LOG_TARGET_ERROR(target, "Flash operation failed, status (%0x" PRIX32 ") ", status);
or1k.c:792
LOG_TARGET_ERROR(target, "not halted");
or1k.c:1029
LOG_TARGET_ERROR(target, "not halted");
or1k.c:1056
LOG_TARGET_ERROR(target, "not halted");
riscv.c:1843
LOG_TARGET_ERROR(target, "not halted (run target algo)");
stm8.c:997
LOG_TARGET_ERROR(target, "not halted");
stm8.c:1306
LOG_TARGET_ERROR(target, "not halted");
stm8.c:1521
LOG_TARGET_ERROR(target, "not halted");
stm8.c:1657
LOG_TARGET_ERROR(target, "not halted");
target.c:680
LOG_TARGET_ERROR(target, "Examination failed");
target.c:1304
LOG_TARGET_ERROR(target, "not halted (add breakpoint)");
target.c:1314
LOG_TARGET_ERROR(target, "not halted (add context breakpoint)");
target.c:1324
LOG_TARGET_ERROR(target, "not halted (add hybrid breakpoint)");
target.c:1340
LOG_TARGET_ERROR(target, "not halted (add watchpoint)");
target.c:1354
LOG_TARGET_ERROR(target, "not halted (hit watchpoint)");
target.c:1439
LOG_TARGET_ERROR(target, "not halted (gdb fileio)");
target.c:1448
LOG_TARGET_ERROR(target, "not halted (gdb fileio end)");
target.c:3010
LOG_TARGET_ERROR(target, "Polling failed, trying to reexamine");
target.c:3017
LOG_TARGET_ERROR(target, "Examination failed, GDB will be halted. Polling again in %dms",
target.c:4073
LOG_TARGET_ERROR(target, "Context breakpoint not available");
target.c:4083
LOG_TARGET_ERROR(target, "Hybrid breakpoint not available");
target.c:4220
LOG_TARGET_ERROR(target, "invalid watchpoint mode ('%c')", CMD_ARGV[2][0]);
target.c:4236
LOG_TARGET_ERROR(target, "Failure setting watchpoints");
target.c:4811
LOG_TARGET_ERROR(target, "Execution of event %s failed:\n%s",
xscale.c:1121
LOG_TARGET_ERROR(target, "not halted");
xscale.c:1385
LOG_TARGET_ERROR(target, "not halted");
xscale.c:1635
LOG_TARGET_ERROR(target, "not halted");
xscale.c:1708
LOG_TARGET_ERROR(target, "not halted");
xscale.c:1784
LOG_TARGET_ERROR(target, "not halted");
xscale.c:1883
LOG_TARGET_ERROR(target, "not halted");
xscale.c:2076
LOG_TARGET_ERROR(target, "not halted");
xscale.c:2166
LOG_TARGET_ERROR(target, "not halted");
xscale.c:2213
LOG_TARGET_ERROR(target, "not halted");
xscale.c:2235
LOG_TARGET_ERROR(target, "not halted");
xscale.c:2339
LOG_TARGET_ERROR(target, "not halted");
xscale.c:2372
LOG_TARGET_ERROR(target, "not halted");
xscale.c:2493
LOG_TARGET_ERROR(target, "must be stopped to read trace data");
xscale.c:3134
LOG_TARGET_ERROR(target, "not halted");
xtensa.c:571
LOG_TARGET_ERROR(target, "Error queuing PPTLB: %d", res);
xtensa.c:574
LOG_TARGET_ERROR(target, "Error issuing PPTLB: %d", res);
xtensa.c:610
LOG_TARGET_ERROR(target, "Failed to read %s (%d)!",
xtensa.c:1027
LOG_TARGET_ERROR(target, "DSR (%08" PRIX32 ") indicates target still busy!", dsr);
xtensa.c:1032
LOG_TARGET_ERROR(target,
xtensa.c:1039
LOG_TARGET_ERROR(target,
xtensa.c:1046
LOG_TARGET_ERROR(target,
xtensa.c:1055
LOG_TARGET_ERROR(target, "clearing DSR failed!");
xtensa.c:1107
LOG_TARGET_ERROR(target, "Read DSR error");
xtensa.c:1133
LOG_TARGET_ERROR(target, "Unknown stop cause (DSR: 0x%08x)", dsr);
xtensa.c:1224
LOG_TARGET_ERROR(target, "unable to allocate memory for regvals!");
xtensa.c:1229
LOG_TARGET_ERROR(target, "unable to allocate memory for dsrs!");
xtensa.c:1578
LOG_TARGET_ERROR(target, "Failed to read core status!");
xtensa.c:1587
LOG_TARGET_ERROR(target, "Failed to set OCDDCR_DEBUGINTERRUPT. Can't halt.");
xtensa.c:1610
LOG_TARGET_ERROR(target, "not halted");
xtensa.c:1652
LOG_TARGET_ERROR(target, "Failed to write back register cache.");
xtensa.c:1666
LOG_TARGET_ERROR(target, "Failed to exec RFDO %d!", res);
xtensa.c:1682
LOG_TARGET_ERROR(target, "Failed to prepare for resume!");
xtensa.c:1687
LOG_TARGET_ERROR(target, "Failed to resume!");
xtensa.c:1736
LOG_TARGET_ERROR(target, "not halted");
xtensa.c:1741
LOG_TARGET_ERROR(target, "eps_dbglevel_idx not set\n");
xtensa.c:1840
LOG_TARGET_ERROR(target, "Failed to prepare resume for single step");
xtensa.c:1845
LOG_TARGET_ERROR(target, "Failed to resume after setting up single step");
xtensa.c:1857
LOG_TARGET_ERROR(target, "Failed to read core status!");
xtensa.c:2010
LOG_TARGET_ERROR(target, "not halted");
xtensa.c:2025
LOG_TARGET_ERROR(target, "Out of memory allocating %" PRId64 " bytes!",
xtensa.c:2106
LOG_TARGET_ERROR(target, "not halted");
xtensa.c:2133
LOG_TARGET_ERROR(target, "Out of memory allocating %" PRId64 " bytes!",
xtensa.c:2276
LOG_TARGET_ERROR(target,
xtensa.c:2281
LOG_TARGET_ERROR(target,
xtensa.c:2405
LOG_TARGET_ERROR(target, "Failed to write PS.DIEXC (%d)!", res);
xtensa.c:2493
LOG_TARGET_ERROR(target, "Error writing instruction to memory: %d", ret);
xtensa.c:2524
LOG_TARGET_ERROR(target, "Failed to read original instruction (%d)!", ret);
xtensa.c:2536
LOG_TARGET_ERROR(target, "Failed to write breakpoint instruction (%d)!", ret);
xtensa.c:2547
LOG_TARGET_ERROR(target, "Failed to write insn (%d)!", ret);
xtensa.c:2571
LOG_TARGET_ERROR(target, "Failed to add SW breakpoint!");
xtensa.c:2585
LOG_TARGET_ERROR(target, "No free slots to add HW breakpoint!");
xtensa.c:2614
LOG_TARGET_ERROR(target, "Failed to remove SW breakpoint (%d)!", ret);
xtensa.c:2626
LOG_TARGET_ERROR(target, "HW breakpoint not found!");
xtensa.c:2643
LOG_TARGET_ERROR(target, "not halted");
xtensa.c:2648
LOG_TARGET_ERROR(target, "watchpoint value masks not supported");
xtensa.c:2826
LOG_TARGET_ERROR(target, "not halted %d, pc 0x%" PRIx32 ", ps 0x%" PRIx32, retval,
xtensa.c:3003
LOG_TARGET_ERROR(target, "ERROR: Out of memory");
xtensa.c:3009
LOG_TARGET_ERROR(target, "ERROR: Out of memory");
xtensa.c:3027
LOG_TARGET_ERROR(target, "ERROR: Out of memory");
xtensa.c:3104
LOG_TARGET_ERROR(target, "TIE access instruction too long (%d)\n", oplen);
xtensa.c:3111
LOG_TARGET_ERROR(target, "TIE access instruction malformed (%d)\n", i);
xtensa.c:3216
LOG_TARGET_ERROR(target, "TIE queue execute: %d\n", status);
xtensa.c:3221
LOG_TARGET_ERROR(target, "TIE instr execute: %d\n", status);
xtensa.c:3233
LOG_TARGET_ERROR(target, "TIE result read");
xtensa.c:3269
LOG_TARGET_ERROR(target, "invalid parameter: packet %p response_p %p", packet, response_p);
xtensa_fileio.c:26
LOG_TARGET_ERROR(target, "Out of memory!");