WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [IA64] xenitp: Display symbolic names of

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] xenitp: Display symbolic names of cr.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 04 Oct 2007 17:41:27 -0700
Delivery-date: Thu, 04 Oct 2007 17:44:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1191338441 21600
# Node ID 669347b873fa6ef23aff42e662ce2422792be913
# Parent  9fbbba4c23fb654e441c8daa2060dadad56b25fd
[IA64] xenitp: Display symbolic names of cr.

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 tools/debugger/xenitp/ia64-dis.c |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+)

diff -r 9fbbba4c23fb -r 669347b873fa tools/debugger/xenitp/ia64-dis.c
--- a/tools/debugger/xenitp/ia64-dis.c  Tue Oct 02 09:18:38 2007 -0600
+++ b/tools/debugger/xenitp/ia64-dis.c  Tue Oct 02 09:20:41 2007 -0600
@@ -214,6 +214,42 @@ print_insn_ia64 (bfd_vma memaddr, struct
                  }
                (*info->fprintf_func) (info->stream, "%s", regname);
              }
+           else if (odesc->str[0] == 'c' && odesc->str[1] == 'r')
+             {
+               switch (value)
+                 {
+                 case 0:       strcpy (regname, "cr.dcr"); break;
+                 case 1:       strcpy (regname, "cr.itm"); break;
+                 case 2:       strcpy (regname, "cr.iva"); break;
+                 case 8:       strcpy (regname, "cr.pta"); break;
+                 case 16:      strcpy (regname, "cr.ipsr"); break;
+                 case 17:      strcpy (regname, "cr.isr"); break;
+                 case 19:      strcpy (regname, "cr.iip"); break;
+                 case 20:      strcpy (regname, "cr.ifa"); break;
+                 case 21:      strcpy (regname, "cr.itir"); break;
+                 case 22:      strcpy (regname, "cr.iipa"); break;
+                 case 23:      strcpy (regname, "cr.ifa"); break;
+                 case 24:      strcpy (regname, "cr.iim"); break;
+                 case 25:      strcpy (regname, "cr.iha"); break;
+                 case 64:      strcpy (regname, "cr.lid"); break;
+                 case 65:      strcpy (regname, "cr.ivr"); break;
+                 case 66:      strcpy (regname, "cr.tpr"); break;
+                 case 67:      strcpy (regname, "cr.eoi"); break;
+                 case 68:      strcpy (regname, "cr.irr0"); break;
+                 case 69:      strcpy (regname, "cr.irr1"); break;
+                 case 70:      strcpy (regname, "cr.irr2"); break;
+                 case 71:      strcpy (regname, "cr.irr3"); break;
+                 case 72:      strcpy (regname, "cr.itv"); break;
+                 case 73:      strcpy (regname, "cr.pmv"); break;
+                 case 74:      strcpy (regname, "cr.cmcv"); break;
+                 case 80:      strcpy (regname, "cr.lrr0"); break;
+                 case 81:      strcpy (regname, "cr.lrr1"); break;
+                 default:
+                   sprintf (regname, "cr%u", (unsigned int) value);
+                   break;
+                 }
+               (*info->fprintf_func) (info->stream, "%s", regname);
+             }
            else
              (*info->fprintf_func) (info->stream, "%s%d", odesc->str, 
(int)value);
            break;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [IA64] xenitp: Display symbolic names of cr., Xen patchbot-unstable <=