From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11577 invoked by alias); 27 Oct 2003 15:49:21 -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 11499 invoked from network); 27 Oct 2003 15:49:20 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 27 Oct 2003 15:49:20 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id C502A2B89; Mon, 27 Oct 2003 10:49:19 -0500 (EST) Message-ID: <3F9D3E7F.2010001@redhat.com> Date: Mon, 27 Oct 2003 15:49:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Re: [RFC] Core files and the architecture vector References: <200310112207.h9BM7WW0010332@elgar.kettenis.dyndns.org> <3F888D0E.4010001@redhat.com> <200310241504.h9OF4G6Q001663@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00781.txt.bz2 > Index: ChangeLog > from Mark Kettenis > > * arch-utils.c (deprecated_select_gdbarch_hack): New function. > (gdbarch_from_bfd): New function. > (set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and > deprecated_select_gdbarch_hack. > Like it. Yep. BTW, while you're there can you tweak: error ("Architecture of file not recognized.\n"); to something like this: error ("Architecture %s of file not recognized", bfd_get_arch_info(bfd)->printable_name); Andrew