From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18649 invoked by alias); 15 Aug 2002 19:52:54 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18584 invoked from network); 15 Aug 2002 19:52:53 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 15 Aug 2002 19:52:53 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 171ABD2CBD; Thu, 15 Aug 2002 12:52:53 -0700 (PDT) Date: Thu, 15 Aug 2002 12:52:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: Re: [RFA] Add declaration in i386-tdep.h (for interix) Message-ID: <20020815195252.GC906@gnat.com> References: <20020730191256.GE19161@gnat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020730191256.GE19161@gnat.com> User-Agent: Mutt/1.4i X-SW-Source: 2002-08/txt/msg00378.txt.bz2 Hello Mark, I submitted this change, motivated by the fact that the interix-tdep file needs this declaration. Andrew suggested that we namespace-proof this function. I would be glad to change the name to, say, i386_skip_trampoline_code But I would perfer to have your opinion/approval before going ahead, since you are the i386 maintainer. Thank you, > 2002-07-30 Joel Brobecker > > * i386-tdep.h (skip_trampoline_code): Add forward declaration. > Will be needed for the interix target. > > OK to apply? > > Thank you. > -- > Joel > Index: i386-tdep.h > =================================================================== > RCS file: /cvs/src/src/gdb/i386-tdep.h,v > retrieving revision 1.10 > diff -c -3 -p -r1.10 i386-tdep.h > *** i386-tdep.h 4 Jul 2002 08:18:20 -0000 1.10 > --- i386-tdep.h 30 Jul 2002 17:55:28 -0000 > *************** struct gdbarch_tdep > *** 160,165 **** > --- 160,168 ---- > /* Size of the largest register. */ > #define I386_MAX_REGISTER_SIZE 16 > > + /* Functions exported from i386-tdep.c */ > + extern CORE_ADDR skip_trampoline_code (CORE_ADDR pc, char *name); > + > /* Return the name of register REG. */ > extern char const *i386_register_name (int reg); > -- Joel