From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10087 invoked by alias); 13 Apr 2002 01:22:13 -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 10077 invoked from network); 13 Apr 2002 01:22:07 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 13 Apr 2002 01:22:07 -0000 Received: from reddwarf.sfbay.redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id SAA17562; Fri, 12 Apr 2002 18:22:07 -0700 (PDT) Received: (from msnyder@localhost) by reddwarf.sfbay.redhat.com (8.11.2/8.11.2) id g3D1A6P13999; Fri, 12 Apr 2002 18:10:06 -0700 Date: Fri, 12 Apr 2002 18:22:00 -0000 From: Michael Snyder Message-Id: <200204130110.g3D1A6P13999@reddwarf.sfbay.redhat.com> To: gdb-patches@sources.redhat.com Subject: [RFA] sim/common: use bfd access method. Cc: cagney@redhat.com X-SW-Source: 2002-04/txt/msg00483.txt.bz2 2002-04-12 Michael Snyder * sim-load.c (sim_load_file): Use bfd access method. 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;