X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fopenocd.c;h=d5d7ebe8768211c97a81caa6320520cf73c65ee6;hp=1874530cb2fc4d053052835e19febf591c1599e2;hb=37deb37593c20c05a4bb29e1d88671a1f7ec6548;hpb=f035b0851bbc6a9ccc2b20128ae2e4d3abd9ba38 diff --git a/src/openocd.c b/src/openocd.c index 1874530cb2..d5d7ebe876 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -87,13 +87,13 @@ static int log_target_callback_event_handler(struct target *target, { switch (event) { case TARGET_EVENT_GDB_START: - target->display = 0; + target->verbose_halt_msg = false; break; case TARGET_EVENT_GDB_END: - target->display = 1; + target->verbose_halt_msg = true; break; case TARGET_EVENT_HALTED: - if (target->display) { + if (target->verbose_halt_msg) { /* do not display information when debugger caused the halt */ target_arch_state(target); }