From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18777 invoked by alias); 3 Jan 2012 11:05:15 -0000 Received: (qmail 18769 invoked by uid 22791); 3 Jan 2012 11:05:14 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ww0-f43.google.com (HELO mail-ww0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Jan 2012 11:04:49 +0000 Received: by wgbds11 with SMTP id ds11so22512791wgb.12 for ; Tue, 03 Jan 2012 03:04:48 -0800 (PST) Received: by 10.227.208.78 with SMTP id gb14mr50688501wbb.21.1325588688244; Tue, 03 Jan 2012 03:04:48 -0800 (PST) Received: from [192.168.0.103] (bl16-31-110.dsl.telepac.pt. [188.81.31.110]) by mx.google.com with ESMTPS id 1sm126040565wiz.11.2012.01.03.03.04.45 (version=SSLv3 cipher=OTHER); Tue, 03 Jan 2012 03:04:46 -0800 (PST) Message-ID: <4F02E0CC.5020408@gmail.com> Date: Tue, 03 Jan 2012 11:05:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Joel Brobecker CC: Tom Tromey , Stan Shebs , gdb-patches@sourceware.org Subject: Re: FYI: minsyms documentation References: <4EF38DAD.3040106@earthlink.net> <20111223042053.GW23376@adacore.com> <20120103025256.GD2730@adacore.com> In-Reply-To: <20120103025256.GD2730@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2012-01/txt/msg00089.txt.bz2 On 01/03/2012 02:52 AM, Joel Brobecker wrote: > > One of the issues this was supposed to solve, I was told, is that > you can have the same function declared in multiple .h files, which > is a big "ugh", but true I guess. Really big "ugh". That is insane, and we should get rid of such cases. Off hand, I know that command.h, and cli/ stuff declare some of the same functions. It's not funny to change the interface/prototype of such a function, update only one of the headers, and then find at run time you have weird crashes, because some module is calling the function still using the old prototype, because it pulled the not-updated header. -- Pedro Alves