From: teawater <teawater@gmail.com>
To: "Andreas Schwab" <schwab@suse.de>
Cc: "Eli Zaretskii" <eliz@gnu.org>, gdb-patches@sourceware.org
Subject: Re: [RFA] Process record and replay, 8/10
Date: Mon, 10 Nov 2008 17:45:00 -0000 [thread overview]
Message-ID: <daef60380811100650v44c5251dq1a792a37b6b0c8aa@mail.gmail.com> (raw)
In-Reply-To: <je1vxj8wyh.fsf@sykes.suse.de>
On Mon, Nov 10, 2008 at 22:41, Andreas Schwab <schwab@suse.de> wrote:
> teawater <teawater@gmail.com> writes:
>
>>>> + /* arith & logic */
>>>> + case 0x00 ... 0x05:
>>>> + case 0x08 ... 0x0d:
>>>> + case 0x10 ... 0x15:
>>>> + case 0x18 ... 0x1d:
>>>> + case 0x20 ... 0x25:
>>>> + case 0x28 ... 0x2d:
>>>> + case 0x30 ... 0x35:
>>>> + case 0x38 ... 0x3d:
>>>
>>> Is this valid ISO C?
>>
>> I am not sure. Could you tell me?
>
> Definitely not. *Note (gcc)Case Ranges::.
>
Thanks.
So I think I need to change it.
Does there have some easy way like ... can instead ... in ISO C?
Cause:
case 0x01:
case 0x02:
...
will waste too much line.
> Andreas.
>
> --
> Andreas Schwab, SuSE Labs, schwab@suse.de
> SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
> PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
>
next prev parent reply other threads:[~2008-11-10 14:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 7:51 teawater
2008-11-06 17:40 ` Doug Evans
2008-11-07 2:02 ` teawater
2008-11-07 15:34 ` Eli Zaretskii
2008-11-10 14:41 ` teawater
2008-11-10 14:51 ` Andreas Schwab
2008-11-10 17:45 ` teawater [this message]
2008-11-14 16:28 ` Eli Zaretskii
2008-11-14 17:18 ` teawater
2008-11-07 18:43 ` Marc Khouzam
2008-11-07 19:03 ` Michael Snyder
2008-11-10 14:42 ` teawater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=daef60380811100650v44c5251dq1a792a37b6b0c8aa@mail.gmail.com \
--to=teawater@gmail.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=schwab@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox