[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug
From: |
John Darrington |
Subject: |
Bug |
Date: |
Sat, 23 Nov 2019 13:15:45 +0100 |
1. Take the following poke code:
deftype yyy =
struct
{
char[8] this;
char[16] that;
};
deftype xxx =
struct
{
uint<8>[0x1dc] headx;
yyy foo;
};
2. load it with say
.load xxx.pk
3. open the file COPYING from the Poke source tarball:
.file COPYING
4. type
(xxx @ NULL).foo.that[0]
one gets:
0x61UB
5. Now type
(xxx @ NULL).foo.that[0:5]
one gets
[0x65UB,0x65UB,0x20UB,0x73UB,0x6fUB,0x66UB]
One (or both) of these results must be incorrect.
- Bug,
John Darrington <=
- Re: Bug, Jose E. Marchesi, 2019/11/29