From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11001 invoked by alias); 24 Jan 2008 15:21:24 -0000 Received: (qmail 10982 invoked by uid 22791); 24 Jan 2008 15:21:22 -0000 X-Spam-Check-By: sourceware.org Received: from qnxmail.qnx.com (HELO nimbus.ott.qnx.com) (209.226.137.76) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Jan 2008 15:20:34 +0000 Received: by nimbus.ott.qnx.com with Internet Mail Service (5.5.2653.19) id ; Thu, 24 Jan 2008 10:20:31 -0500 Message-ID: From: Aleksandar Ristovski To: Daniel Jacobowitz , Aleksandar Ristovski Cc: gdb@sourceware.org Subject: RE: MT_CFLAGS Date: Thu, 24 Jan 2008 15:21:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain 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: 2008-01/txt/msg00251.txt.bz2 > -----Original Message----- > From: Daniel Jacobowitz > > On Thu, Jan 24, 2008 at 10:07:47AM -0500, Aleksandar Ristovski wrote: > > Hello, > > > > I see that MT_CFLAGS is gone from Makefile.in. > > > > What is the alternative to getting the same result? I need to add a > target > > specific #define to CC, e.g. -DMY_DEFINE. What is the correct approach? > > It was removed because we try not to add target-specific defines any > more. What do you need it for? > > Normally proper use of gdbarch and target inheritance is enough. I want to implement some fix-ups (workarounds) that are really specific to us and have to be made in gdb files (not ours). The workarounds are not candidates for mainstream, so I am wrapping them in our #ifdef-s... No big deal really, I just thought there was a 'correct' way to do it. But maybe you have some other suggestion? Thanks, Aleksandar