[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug
From: |
Jose E. Marchesi |
Subject: |
Re: Bug |
Date: |
Fri, 29 Nov 2019 13:59:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi John.
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.
This should be fixed now in master.
Salud!
- Bug, John Darrington, 2019/11/23
- Re: Bug,
Jose E. Marchesi <=