From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11933 invoked by alias); 9 May 2008 19:08:09 -0000 Received: (qmail 11765 invoked by uid 22791); 9 May 2008 19:08:08 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate6.de.ibm.com (HELO mtagate6.de.ibm.com) (195.212.29.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 May 2008 19:07:46 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate6.de.ibm.com (8.13.8/8.13.8) with ESMTP id m49J7SYE279698 for ; Fri, 9 May 2008 19:07:28 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m49J7SwK4305088 for ; Fri, 9 May 2008 21:07:28 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m49J7S3G006260 for ; Fri, 9 May 2008 21:07:28 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m49J7S4e006257; Fri, 9 May 2008 21:07:28 +0200 Message-Id: <200805091907.m49J7S4e006257@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Fri, 9 May 2008 21:07:28 +0200 Subject: Re: [RFC] Add support for PPC Altivec registers in gcore To: cseo@linux.vnet.ibm.com (Carlos Eduardo Seo) Date: Fri, 09 May 2008 20:30:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org (GDB Patches Mailing List) In-Reply-To: <48246103.50009@linux.vnet.ibm.com> from "Carlos Eduardo Seo" at May 09, 2008 11:34:43 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2008-05/txt/msg00323.txt.bz2 Carlos Eduardo Seo: > The patch is almost ready; only the debug printf issue remains. My only > question now is where is the best place to declare the > 'host_address_to_string' conversion function? I thought about utils.c, > but I don't think gdbarch.c will find it there. I would suggest to place the definition in utils.c (next to gdb_print_host_address), and a prototype in defs.h (next to the prototype for gdb_print_host_address). As gdbarch.c does include defs.h, it will find it here ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com