aboutsummaryrefslogtreecommitdiff
path: root/include/vms
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2010-04-30 12:44:51 +0000
committerTristan Gingold <gingold@adacore.com>2010-04-30 12:44:51 +0000
commit13a985e120647fb8664baf7eeab498c1e367b54e (patch)
treebd703d29ad646cfc5ca3175923bdd58a3392c7db /include/vms
parent8e57e1d134f0cca20ca7b1dec0196090a32d5749 (diff)
downloadgdb-13a985e120647fb8664baf7eeab498c1e367b54e.zip
gdb-13a985e120647fb8664baf7eeab498c1e367b54e.tar.gz
gdb-13a985e120647fb8664baf7eeab498c1e367b54e.tar.bz2
bfd/
2010-04-30 Tristan Gingold <gingold@adacore.com> * vms-lib.c (vms_read_block): New function. (vms_traverse_index): Use vms_read_block. Handle long key names. include/vms/ 2010-04-30 Tristan Gingold <gingold@adacore.com> * lbr.h (struct vms_kbn): New structure.
Diffstat (limited to 'include/vms')
-rw-r--r--include/vms/ChangeLog4
-rw-r--r--include/vms/lbr.h13
2 files changed, 17 insertions, 0 deletions
diff --git a/include/vms/ChangeLog b/include/vms/ChangeLog
index b7114d3..823520f 100644
--- a/include/vms/ChangeLog
+++ b/include/vms/ChangeLog
@@ -1,5 +1,9 @@
2010-04-30 Tristan Gingold <gingold@adacore.com>
+ * lbr.h (struct vms_kbn): New structure.
+
+2010-04-30 Tristan Gingold <gingold@adacore.com>
+
* lbr.h (LBR__C_TYP_ISHSTB): Added.
(LHD_SANEID4): Renamed to ...
(LHD_SANEID6): ... this.
diff --git a/include/vms/lbr.h b/include/vms/lbr.h
index 7d6f597..91186ee 100644
--- a/include/vms/lbr.h
+++ b/include/vms/lbr.h
@@ -255,6 +255,19 @@ struct vms_datadef
#define DATA__LENGTH 512
#define DATA__DATA 6
+/* Key name block. This is used for keys longer than 128 bytes. */
+
+struct vms_kbn
+{
+ /* Length of the key chunk. */
+ unsigned char keylen[2];
+
+ /* RFA of the next chunk. */
+ struct vms_rfa rfa;
+
+ /* Followed by the key chunk. */
+};
+
/* Module header. */
struct vms_mhd
{