aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2003-06-10 21:24:48 +0000
committerDoug Evans <dje@google.com>2003-06-10 21:24:48 +0000
commit5b5b78dacbb201872ab6442f3ea5faeb73f399df (patch)
tree2f2151f5d5db46261421b52760bdf4b0600275e5
parenta191ea8dac5660849327c57d8efe55bd67e8b3c7 (diff)
downloadgdb-5b5b78dacbb201872ab6442f3ea5faeb73f399df.zip
gdb-5b5b78dacbb201872ab6442f3ea5faeb73f399df.tar.gz
gdb-5b5b78dacbb201872ab6442f3ea5faeb73f399df.tar.bz2
* frv.cpu: Add IDOC attribute.
-rw-r--r--cpu/ChangeLog4
-rw-r--r--cpu/frv.cpu18
2 files changed, 22 insertions, 0 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog
index 07ba85f..ddf23b5 100644
--- a/cpu/ChangeLog
+++ b/cpu/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-10 Doug Evans <dje@sebabeach.org>
+
+ * frv.cpu: Add IDOC attribute.
+
2003-06-06 Andrew Cagney <cagney@redhat.com>
Contributed by Red Hat.
diff --git a/cpu/frv.cpu b/cpu/frv.cpu
index 9550850..efe3b98 100644
--- a/cpu/frv.cpu
+++ b/cpu/frv.cpu
@@ -1016,6 +1016,24 @@
(comment "placeholder attribute")
(attrs META) ; do not define in any generated file for now
)
+
+; IDOC attribute for instruction documentation.
+
+(define-attr
+ (for insn)
+ (type enum)
+ (name IDOC)
+ (comment "insn kind for documentation")
+ (attrs META)
+ (values
+ (MEM - () "Memory")
+ (ALU - () "ALU")
+ (FPU - () "FPU")
+ (BR - () "Branch")
+ (PRIV - () "Priviledged")
+ (MISC - () "Miscellaneous")
+ )
+)
; Instruction fields.
;