This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] sim/common: use bfd access method.


> 2002-04-12  Michael Snyder  <msnyder@redhat.com>
> 
> * 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;
>   
> 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]