diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-10-08 20:45:21 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-10-08 20:45:21 +0000 |
commit | 417b5110936e56654832628180d8617970417a18 (patch) | |
tree | 2ef0c22b7364a2eecdea2589bf08e6b10918a4a2 /gdb/tracepoint.c | |
parent | 3354061073a5e13c69d68b26acfd881db622da03 (diff) | |
download | gdb-417b5110936e56654832628180d8617970417a18.zip gdb-417b5110936e56654832628180d8617970417a18.tar.gz gdb-417b5110936e56654832628180d8617970417a18.tar.bz2 |
* tracepoint.c (merge_uploaded_trace_state_variables): Only print
messages if info_verbose.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index b8b9d8c..b441bd4 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) |