gdb/gdbserver/

* tracepoint.c (cmd_qtsv): Adjust debug message.
	Don't check CUR_TPOINT.
This commit is contained in:
Yao Qi 2012-09-04 01:47:49 +00:00
parent bc36528588
commit 918d227b01
2 changed files with 7 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2012-09-04 Yao Qi <yao@codesourcery.com>
* tracepoint.c (cmd_qtsv): Adjust debug message.
Don't check CUR_TPOINT.
2012-08-28 Yao Qi <yao@codesourcery.com>
* ax.c, tracepoint.c: Replace ATTR_FORMAT with ATTRIBUTE_PRINTF.

View File

@ -3873,15 +3873,9 @@ cmd_qtfv (char *packet)
static void
cmd_qtsv (char *packet)
{
trace_debug ("Returning first trace state variable definition");
trace_debug ("Returning additional trace state variable definition");
if (!cur_tpoint)
{
/* This case would normally never occur, but be prepared for
GDB misbehavior. */
strcpy (packet, "l");
}
else if (cur_tsv)
if (cur_tsv)
{
cur_tsv = cur_tsv->next;
if (cur_tsv)