* spu-tdep.c (info_spu_dma_command): Respect TSQV (tag status
query valid) bit. Ignore bits outside the condition field. (info_spu_proxydma_command): Ignore bits outside the field.
This commit is contained in:
parent
2d924fd9eb
commit
8fbde58b70
|
@ -1,3 +1,9 @@
|
||||||
|
2008-08-13 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* spu-tdep.c (info_spu_dma_command): Respect TSQV (tag status
|
||||||
|
query valid) bit. Ignore bits outside the condition field.
|
||||||
|
(info_spu_proxydma_command): Ignore bits outside the field.
|
||||||
|
|
||||||
2008-08-12 Michael Snyder <msnyder@vmware.com>
|
2008-08-12 Michael Snyder <msnyder@vmware.com>
|
||||||
|
|
||||||
* MAINTAINERS: Update my email address.
|
* MAINTAINERS: Update my email address.
|
||||||
|
|
|
@ -1925,15 +1925,15 @@ info_spu_dma_command (char *args, int from_tty)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
const char *query_msg;
|
const char *query_msg = _("no query pending");
|
||||||
|
|
||||||
switch (dma_info_type)
|
if (dma_info_type & 4)
|
||||||
{
|
switch (dma_info_type & 3)
|
||||||
case 0: query_msg = _("no query pending"); break;
|
{
|
||||||
case 1: query_msg = _("'any' query pending"); break;
|
case 1: query_msg = _("'any' query pending"); break;
|
||||||
case 2: query_msg = _("'all' query pending"); break;
|
case 2: query_msg = _("'all' query pending"); break;
|
||||||
default: query_msg = _("undefined query type"); break;
|
default: query_msg = _("undefined query type"); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf_filtered (_("Tag-Group Status 0x%s\n"),
|
printf_filtered (_("Tag-Group Status 0x%s\n"),
|
||||||
phex (dma_info_status, 4));
|
phex (dma_info_status, 4));
|
||||||
|
@ -1990,7 +1990,7 @@ info_spu_proxydma_command (char *args, int from_tty)
|
||||||
{
|
{
|
||||||
const char *query_msg;
|
const char *query_msg;
|
||||||
|
|
||||||
switch (dma_info_type)
|
switch (dma_info_type & 3)
|
||||||
{
|
{
|
||||||
case 0: query_msg = _("no query pending"); break;
|
case 0: query_msg = _("no query pending"); break;
|
||||||
case 1: query_msg = _("'any' query pending"); break;
|
case 1: query_msg = _("'any' query pending"); break;
|
||||||
|
|
Loading…
Reference in New Issue