From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: valid_pointer_p Date: Sun, 13 Aug 2006 00:56:02 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1155419782 19925 80.91.229.2 (12 Aug 2006 21:56:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 21:56:22 +0000 (UTC) Cc: schwab@suse.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 12 23:56:20 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GC1St-0002e8-O4 for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2006 23:56:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GC1St-0006mA-CK for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2006 17:56:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GC1Sf-0006k9-TG for emacs-devel@gnu.org; Sat, 12 Aug 2006 17:56:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GC1Sd-0006ea-AM for emacs-devel@gnu.org; Sat, 12 Aug 2006 17:56:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GC1Sd-0006eG-5U for emacs-devel@gnu.org; Sat, 12 Aug 2006 17:56:03 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GC1Y4-0003f9-Kf for emacs-devel@gnu.org; Sat, 12 Aug 2006 18:01:40 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-21-17.inter.net.il [80.230.21.17]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id EJZ89432 (AUTH halo1); Sun, 13 Aug 2006 00:55:56 +0300 (IDT) Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) 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 Xref: news.gmane.org gmane.emacs.devel:58340 Archived-At: > Cc: Andreas Schwab , emacs-devel@gnu.org > From: storm@cua.dk (Kim F. Storm) > Date: Sat, 12 Aug 2006 22:19:50 +0200 > > > Am I missing something? > > No. My simple approach was simply to assume that if you can access the > size field of a vector, you can access the rest as well. I don't mind > making a more correct implementation, although I didn't see the need -- > after all, this is for a corner case of debugging emacs. It could be annoying to get INVALID for a perfectly valid object, and fixing the current code seems easy enough. But I don't have time to do this myself, so it's your call.