From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8197 invoked by alias); 23 Apr 2013 18:17:34 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 8186 invoked by uid 89); 23 Apr 2013 18:17:34 -0000 X-Spam-SWARE-Status: No, score=-7.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 23 Apr 2013 18:17:33 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3NIHVY1008015 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 23 Apr 2013 14:17:32 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r3NIHUFv017609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 23 Apr 2013 14:17:30 -0400 From: Tom Tromey To: Markus Teich Cc: gdb@sourceware.org Subject: Re: meaning of tags in output References: <5170EAF2.3060007@stusta.mhn.de> Date: Tue, 23 Apr 2013 18:17:00 -0000 In-Reply-To: <5170EAF2.3060007@stusta.mhn.de> (Markus Teich's message of "Fri, 19 Apr 2013 08:57:54 +0200") Message-ID: <87k3ntp0w6.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-04/txt/msg00063.txt.bz2 >>>>> "Markus" == Markus Teich writes: Markus> Is there already a documented list? There should be some information in the documentation. If any are missing, we'd appreciate a patch or a bug report... I don't think there is a complete list. New ones are added whenever necessary, but historically not always documented. Markus> Since i am only working with C-Code right now, i tried to filter, which Markus> tags are relevant for C and which are not. If you are parsing the CLI output, you should know that MI is designed for this. Parsing the CLI output is always going to be fragile. Markus> Markus> if "this" is not used in a C++ member function it is an Markus> synthetic pointer. irrelevant for C. No, synthetic pointers are a DWARF extension typically used when the compiler supports SRA. GCC emits this in some cases. Markus> Markus> occurs, when a variable is printed which is not yet initialized. Is it Markus> C++ only? Pretty much any error can wind up being printed this way. I don't know of a way to categorize it. Markus>
Markus> ???seems to be for errorhandling in gdb??? I see the code, but I don't know how this could happen. Markus> Markus> ??? You can define internal functions in gdb; this is exposed to users via Python. These internal functions are represented as values with "internal function" type. If you try to print such a value, this is what you get. Markus> Markus> ??? I thought this one was documented, but I didn't immediately see it. Some of a value's contents can be unavailable in some situations. For example you might be examining saved trace data, and try to print a register which was not traced. Markus> Markus> could not read adress. What is the difference to the next tag? Markus>
Markus> Memory access on BADFOOD pointer I see these both in val_print_string. The difference comes from the error returned by the target code. I don't know any more than that. Markus> Markus> google hints: could be serious (stack corruption?). Or, I think, an invalid bit pattern for a floating-point value. Tom