From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11835 invoked by alias); 24 Aug 2010 18:00:12 -0000 Received: (qmail 11809 invoked by uid 22791); 24 Aug 2010 18:00:11 -0000 X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Aug 2010 18:00:05 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L7O00800497VH00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Tue, 24 Aug 2010 20:58:53 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.70.215.111]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L7O008T04M4OF40@a-mtaout23.012.net.il>; Tue, 24 Aug 2010 20:58:53 +0300 (IDT) Date: Tue, 24 Aug 2010 18:00:00 -0000 From: Eli Zaretskii Subject: Re: [Doc]tracepoint: change *$esp@300 to *(unsigned char *)$esp@300 In-reply-to: <4C7402E6.90704@vmware.com> To: Michael Snyder Cc: teawater@gmail.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83zkwbnb50.fsf@gnu.org> References: <83d3t8ogi4.fsf@gnu.org> <834oekndh9.fsf@gnu.org> <4C7402E6.90704@vmware.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-08/txt/msg00420.txt.bz2 > Date: Tue, 24 Aug 2010 10:35:34 -0700 > From: Michael Snyder > CC: Hui Zhu , > "gdb-patches@sourceware.org" > > Eli Zaretskii wrote: > >> From: Hui Zhu > >> Date: Tue, 24 Aug 2010 11:30:03 +0800 > >> Cc: gdb-patches@sourceware.org > >> > >> If "unsigned char" is too big, what about *(char *)$esp@300? > > > > "char" is better, but not because of the length. > > > > However, what I really meant is to ask whether *$esp should indeed > > refuse to work, or is that a bug? > > I imagine it must have worked at one time... If we-all think now that it's okay for *$esp not to work, then let's fix the docs and be done.