- To: Amittai Aviram <amittai.Aviram@xxxxxxxx>
- Subject: Re: What exactly does is_variable_sized test for?
- From: Ian Lance Taylor <iant@xxxxxxxxxx>
- Date: Wed, 22 Feb 2012 19:12:53 -0800
- Authentication-results: mr.google.com; spf=pass (google.com: domain of iant@xxxxxxxxxx designates 10.101.128.2 as permitted sender) smtp.mail=iant@xxxxxxxxxx; dkim=pass header.i=iant@xxxxxxxxxx
- Cc: gcc-help@xxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1330571599; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Received-SPF:Received:Received:Received:Received:From:To:Cc: Subject:References:Date:In-Reply-To:Message-ID:User-Agent: MIME-Version:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=YpDrYbS2KNo0jSBUfV7rjG8Cu74=; b=ceoV99etUnLm4Sw vAhuSQ4Jt2r3wPQGeaqmfo7QwE5sPQOJx6TXuKaq5LDFPf4oe4qMtnie6KhTOP1I xtsMpO2DodFZFzIZBtW6OBIWOfcTOPDDPP1fKQsnfX99xOG1JVKWexG9JUZtlHET hlQqLB8BiszcHLrOdqRA0lDBI/Ig=
- In-reply-to: <94B1B10C-044C-4527-B596-4EA6142D73F7@yale.edu> (Amittai Aviram's message of "Wed, 22 Feb 2012 21:28:06 -0500")
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Amittai Aviram <amittai.Aviram@xxxxxxxx> writes:
> On Feb 22, 2012, at 8:19 PM, Ian Lance Taylor wrote:
>> Amittai Aviram <amittai.Aviram@xxxxxxxx> writes:
>>> Thanks a lot for the explanation and the advice. I do have to unpack the macros sometimes when I want to verify a value while running GCC under GDB.
>> Look at gcc/gdbinit.in for convenient ways to dump the internal
>> representation when running under gdb.
> Sorry--this looks interesting, but I do not understand exactly how to use it. Which are the commands and what are the arguments? What does "$" mean? I didn't see anything about this on the DebuggingGCC Wiki. Thanks!
In gdb, if x is a tree, do
$ refers to the last value printed by gdb.
[Linux C Programming]
[The DWARVES Debugging Tools]