From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124482 invoked by alias); 6 Sep 2018 12:21:13 -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 124471 invoked by uid 89); 6 Sep 2018 12:21:13 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:988, slowly, HContent-Transfer-Encoding:8bit, documents X-HELO: mail.witominska.net Received: from mail.witominska.net (HELO mail.witominska.net) (46.175.239.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Sep 2018 12:21:10 +0000 Received: from serverdsl1.witominska.net (serverdsl1.witominska.net [127.0.0.1]) by mail.witominska.net (8.14.4/8.14.4) with ESMTP id w86CL7we021732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 6 Sep 2018 14:21:07 +0200 Received: (from apache@localhost) by serverdsl1.witominska.net (8.14.4/8.14.4/Submit) id w86CL6jZ021726; Thu, 6 Sep 2018 14:21:06 +0200 Received: from 134.191.220.74 (SquirrelMail authenticated user kuba) by poczta.uirs.pl with HTTP; Thu, 6 Sep 2018 14:21:06 +0200 Message-ID: Date: Thu, 06 Sep 2018 12:21:00 -0000 Subject: Style and navigation in project question(?) From: kuba@witominska.net To: gdb@sourceware.org User-Agent: SquirrelMail/1.4.22-2.fc14 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2018-09/txt/msg00013.txt.bz2 Hi, I'm new in this project and for beginning I want to figure out how to fix this bug: https://sourceware.org/bugzilla/show_bug.cgi?id=23182 I already reproduce it and relay gdb print 'x' array wrong, but it's not a main question. 1. Trying to figure out what function can make problems I jump into print and slowly go back. Reading code of those function I saw style problems like int x; ... if (x) ... or if(a==b) /* it's ok to be a and b equal*/ return a+b; Is better to not touch them or add !=0 or {} as said in style documents? (this one: https://sourceware.org/gdb/wiki/Internals%20GDB-Testsuite-Coding-Standards ) 2. Its so big and I feel a bit lost. I found those "print" by luck and guess. Is there any kind of map that can help me to find eg. actually function that look for Fortran array, and try to print it? Or what document I miss and should read? 3. It should be first question, but em I ask those two above in right place?