From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22315 invoked by alias); 15 Apr 2002 00:37:32 -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 22307 invoked from network); 15 Apr 2002 00:37:27 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 15 Apr 2002 00:37:27 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 0EBE73C3F; Sun, 14 Apr 2002 20:37:34 -0400 (EDT) Message-ID: <3CBA20CD.1080306@cygnus.com> Date: Sun, 14 Apr 2002 17:37:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.9) Gecko/20020328 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder Cc: gdb-patches@sources.redhat.com, cagney@redhat.com Subject: Re: [RFA] sim/common: use bfd access method. References: <200204130110.g3D1A6P13999@reddwarf.sfbay.redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00515.txt.bz2 > 2002-04-12 Michael Snyder > > * sim-load.c (sim_load_file): Use bfd access method. Looks fairly obvious :-) Andrew > Index: sim-load.c > =================================================================== > RCS file: /cvs/src/src/sim/common/sim-load.c,v > retrieving revision 1.4 > diff -p -r1.4 sim-load.c > *** sim-load.c 25 Apr 2001 21:14:28 -0000 1.4 > --- sim-load.c 13 Apr 2002 01:20:42 -0000 > *************** sim_load_file (sd, myname, callback, pro > *** 106,112 **** > found_loadable_section = 0; > for (s = result_bfd->sections; s; s = s->next) > { > ! if (s->flags & SEC_LOAD) > { > bfd_size_type size; > > --- 106,112 ---- > found_loadable_section = 0; > for (s = result_bfd->sections; s; s = s->next) > { > ! if (bfd_get_section_flags (s) & SEC_LOAD) > { > bfd_size_type size; > >