This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] sim/common: use bfd access method.
- From: Michael Snyder <msnyder at redhat dot com>
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Cc: Michael Snyder <msnyder at cygnus dot com>, gdb-patches at sources dot redhat dot com, cagney at redhat dot com
- Date: Mon, 15 Apr 2002 11:28:39 -0700
- Subject: Re: [RFA] sim/common: use bfd access method.
- Organization: Red Hat, Inc.
- References: <200204130110.g3D1A6P13999@reddwarf.sfbay.redhat.com> <3CBA20CD.1080306@cygnus.com>
Andrew Cagney wrote:
>
> > 2002-04-12 Michael Snyder <msnyder@redhat.com>
> >
> > * sim-load.c (sim_load_file): Use bfd access method.
>
> Looks fairly obvious :-)
>
> Andrew
Committed.
>
> > 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;
> >
> >