This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
2 tracepoint keep y 0x080485b1 in main at gdb.trace/change-loc.c:29 installed on target 3 tracepoint keep y 0x080485b1 in main at gdb.trace/change-loc.c:29 not installed on target
This should be documented in the manual and NEWS, both the CLI changes, and the MI change (this patch adds the "installed" field to various MI things).
Not sure about the pending case. Can you show how does that look like?>+ >+ if (!header_of_multiple) >+ { >+ annotate_field (11); >+ ui_out_text (uiout, "\tinstalled "); >+ /* LOC is NULL means the tracepoint is still pending, set >+ field 'installed' 'n'. */ >+ ui_out_field_string (uiout, "installed", >+ loc ? (loc->inserted ? "y" : "n") : "n"); >+ ui_out_text (uiout, " \n");
Num Type Disp Enb Address What 1 tracepoint keep y <PENDING> foo installed n
Why not just display nothing in that case? How does the MI output look like in the pending case?
-- Yao (éå)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |