Skip to content

Commit 92cd6cc

Browse files
committed
esp/xtensa: Accept incomplete debug stubs table
1 parent ddf0769 commit 92cd6cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/target/esp_xtensa.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ static void esp_xtensa_dbgstubs_info_update(struct target *target)
272272
}
273273
if (esp_xtensa->dbg_stubs.entries_count <
274274
(ESP_DBG_STUB_ENTRY_MAX-ESP_DBG_STUB_TABLE_START)) {
275-
LOG_DEBUG("Not full dbg stub table %d of %d", esp_xtensa->dbg_stubs.entries_count,
275+
LOG_WARNING("Not full dbg stub table %d of %d", esp_xtensa->dbg_stubs.entries_count,
276276
(ESP_DBG_STUB_ENTRY_MAX-ESP_DBG_STUB_TABLE_START));
277-
esp_xtensa->dbg_stubs.entries_count = 0;
278-
return;
279277
}
278+
if (esp_xtensa->dbg_stubs.entries_count == 0)
279+
return;
280280
/* read debug stubs descriptor */
281281
ESP_XTENSA_DBGSTUBS_UPDATE_DATA_ENTRY(esp_xtensa->dbg_stubs.entries[ESP_DBG_STUB_DESC]);
282282
res =

0 commit comments

Comments
 (0)