From: Daniel Jacobowitz Date: Fri, 8 Oct 2010 20:45:21 +0000 (+0000) Subject: * tracepoint.c (merge_uploaded_trace_state_variables): Only print X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=417b5110936e56654832628180d8617970417a18;p=binutils-gdb.git * tracepoint.c (merge_uploaded_trace_state_variables): Only print messages if info_verbose. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 31a82363cd7..7341c924c3c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-10-08 Daniel Jacobowitz + + * tracepoint.c (merge_uploaded_trace_state_variables): Only print + messages if info_verbose. + 2010-10-08 Ken Werner * valops.c (value_cast): Handle vector types. diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index b8b9d8cef5c..b441bd49ffd 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -3139,13 +3139,17 @@ merge_uploaded_trace_state_variables (struct uploaded_tsv **uploaded_tsvs) { tsv = find_matching_tsv (utsv); if (tsv) - printf_filtered (_("Assuming trace state variable $%s is same as target's variable %d.\n"), - tsv->name, utsv->number); + { + if (info_verbose) + printf_filtered (_("Assuming trace state variable $%s is same as target's variable %d.\n"), + tsv->name, utsv->number); + } else { tsv = create_tsv_from_upload (utsv); - printf_filtered (_("Created trace state variable $%s for target's variable %d.\n"), - tsv->name, utsv->number); + if (info_verbose) + printf_filtered (_("Created trace state variable $%s for target's variable %d.\n"), + tsv->name, utsv->number); } /* Give precedence to numberings that come from the target. */ if (tsv)