[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] poke: Handle the absence of current IOS in map command
From: |
Jose E. Marchesi |
Subject: |
Re: [PATCH] poke: Handle the absence of current IOS in map command |
Date: |
Sun, 28 Feb 2021 10:52:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> On Sun, Feb 28, 2021 at 10:32:55AM +0100, Jose E. Marchesi wrote:
>>
>> > Do you know why the following test fails?
>> > I cannot see the problem.
>> >
>> > ```
>> > /* { dg-do run } */
>> >
>> > /* { dg-command { .map create foo } } */
>> > /* { dg-output "No current IOS" } */
>> > ```
>>
>> A map always requires to be associated with an IO space, which is the
>> current.
>
> That's exactly I want to test. If there's no IO space, `poke` should
> say "No current IOS" (which it does after my recent patch).
Ah I see.
> I wrote the above DejaGNU snippet to test this situation, but it reports
> failure.
> Are exceptions involved here?
Nope..