From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4850 invoked by alias); 22 Nov 2014 05:43:31 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33750 Received: (qmail 26484 invoked from network); 22 Nov 2014 05:43:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=IOK10brD c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=5y4faFyK3SkA:10 a=bv2JeBO_cKoH5VKZ15wA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141121214351.ZM12585@torch.brasslantern.com> Date: Fri, 21 Nov 2014 21:43:51 -0800 In-reply-to: <141121204545.ZM11623@torch.brasslantern.com> Comments: In reply to Bart Schaefer "Re: trouble with debugging binary" (Nov 21, 8:45pm) References: <930.1416260160@thecus.kiddle.eu> <42F4E5F2-97E7-4803-87CB-B1C67CD943B2@kba.biglobe.ne.jp> <15511.1416528068@thecus.kiddle.eu> <546E9224.7090709@eastlink.ca> <546EA58F.7010101@eastlink.ca> <141120222353.ZM10495@torch.brasslantern.com> <546F7646.7080108@eastlink.ca> <141121204545.ZM11623@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: trouble with debugging binary MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Nov 21, 8:45pm, Bart Schaefer wrote: } } Sadly, rebuilding without --enable-zsh-debug is sort of like removing } the batteries from your smoke detector. There may still be a fire, but } you just aren't hearing about it any more. And indeed, there really WAS an "unknown word code". Except it was only unknown to gettext2(). Turns out that gettext2() predates the DEBUG_BEFORE_CMD option, and that there is one word code that can't possibly appear when the command text is examined after the command is executed, and therefore gettext2() did not bother about understanding that particular word code. The initial guess about out-of-date .zwc files was a red herring. diff --git a/Src/text.c b/Src/text.c index f55553e..75f642c 100644 --- a/Src/text.c +++ b/Src/text.c @@ -834,6 +834,10 @@ gettext2(Estate state) taddstr("))"); stack = 1; break; + case WC_AUTOFN: + taddstr("builtin autoload -X"); + stack = 1; + break; case WC_TRY: if (!s) { taddstr("{");