From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27521 invoked by alias); 6 Dec 2012 10:51:20 -0000 Received: (qmail 27512 invoked by uid 22791); 6 Dec 2012 10:51:19 -0000 X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_BRBL_LASTEXT,RCVD_IN_HOSTKARMA_YE,RCVD_IN_MSPIKE_BL,RCVD_IN_MSPIKE_L3,RCVD_IN_NJABL_RELAY,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from new.toad.com (HELO new.toad.com) (209.237.225.253) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 06 Dec 2012 10:51:15 +0000 Received: from new.toad.com (localhost.localdomain [127.0.0.1]) by new.toad.com (8.12.9/8.12.9) with ESMTP id qB6Ap9CU012302; Thu, 6 Dec 2012 02:51:09 -0800 Message-Id: <201212061051.qB6Ap9CU012302@new.toad.com> To: Hui Zhu , gnu@toad.com Cc: gdb@sourceware.org Subject: Re: Request change name of function lookup_enum in libbabeltrace to make GDB use this lib In-reply-to: Date: Thu, 06 Dec 2012 10:51:00 -0000 From: John Gilmore X-IsSubscribed: yes 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 X-SW-Source: 2012-12/txt/msg00023.txt.bz2 I suggest that it's best if both GDB and Libbabeltrace change the name of lookup_enum. That way you'll be able to compile any version of GDB with any version of libbabeltrace (fixed or unfixed) and all four combinations will work except "unfixed GDB" and "unfixed libbabeltrace"). If you just change it in the library, gdb stops building on machines that have the old library. If you just change it in GDB, older gdb's won't be compatible with newer libraries. Hmm, but older gdb's don't link with that library anyway. So you might as well just fix it in GDB; that works for all cases. John