From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Ok, somebody give me a clue. Date: Mon, 28 Feb 2005 15:48:48 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1109604959 16921 80.91.229.2 (28 Feb 2005 15:35:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2005 15:35:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 28 16:35:59 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D5mp3-0006qx-4H for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 16:28:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5n6g-00023q-3r for ged-emacs-devel@m.gmane.org; Mon, 28 Feb 2005 10:46:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D5n2M-0003F5-Q0 for emacs-devel@gnu.org; Mon, 28 Feb 2005 10:42:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D5n2J-0003DJ-2Q for emacs-devel@gnu.org; Mon, 28 Feb 2005 10:42:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D5n2I-0003C7-Gy for emacs-devel@gnu.org; Mon, 28 Feb 2005 10:42:18 -0500 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D5mnO-0005Rg-7h; Mon, 28 Feb 2005 10:26:54 -0500 Original-Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 9E88F1520DC2; Mon, 28 Feb 2005 15:48:49 +0100 (CET) Original-To: storm@cua.dk (Kim F. Storm) X-Yow: I'm a GENIUS! I want to dispute sentence structure with SUSAN SONTAG!! In-Reply-To: (Kim F. Storm's message of "Mon, 28 Feb 2005 15:06:04 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33930 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33930 storm@cua.dk (Kim F. Storm) writes: > David Kastrup writes: > >> For debugging purposes, I have been using the following: >> >> struct trbuf { void* pc; int value; } trbuf[256]; >> unsigned char trptr; >> #define RECORD_INPUT do { __label__ woozle; \ >> woozle: trbuf[trptr++] =3D (struct trbuf) \ > > Does [trptr++%256] give better results ? trptr is unsigned char, so won't ever be bigger than 255. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."