From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9615 invoked by alias); 19 Apr 2013 06:58:00 -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 9604 invoked by uid 89); 19 Apr 2013 06:57:59 -0000 X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Received: from mail.stusta.mhn.de (HELO mail.stusta.mhn.de) (141.84.69.5) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 19 Apr 2013 06:57:57 +0000 Received: from [10.150.42.66] (r042066.stusta.swh.mhn.de [10.150.42.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.stusta.mhn.de (Postfix) with ESMTPS id BDF7A194F8 for ; Fri, 19 Apr 2013 08:57:54 +0200 (CEST) Message-ID: <5170EAF2.3060007@stusta.mhn.de> Date: Fri, 19 Apr 2013 06:58:00 -0000 From: Markus Teich User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: gdb@sourceware.org Subject: meaning of tags in output Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-04/txt/msg00055.txt.bz2 Hello, i found that some expressions give extra tags in the output when printed. Unfortunately i did not find any documentation about them, so i looked in the source and tried to summarize them myself. Is there already a documented list? Since i am only working with C-Code right now, i tried to filter, which tags are relevant for C and which are not. Can you help me complete/correct the list? --Markus if "this" is not used in a C++ member function it is an synthetic pointer. irrelevant for C. can be omitted with 'set print elements 0' seems to be only used for Pascal and C++ source. occurs, when a variable is printed which is not yet initialized. Is it C++ only?
???seems to be for errorhandling in gdb??? ??? seems to only occur, when gdb interprets something as a wchar array and finds a "half" wchar. ??? could not read adress. What is the difference to the next tag?
Memory access on BADFOOD pointer google hints: could be serious (stack corruption?). occurs if e.g. type is a struct without members. compiler optimizations.