Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] sim/common: use bfd access method.
@ 2002-04-12 18:22 Michael Snyder
  2002-04-14 17:37 ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Snyder @ 2002-04-12 18:22 UTC (permalink / raw)
  To: gdb-patches; +Cc: cagney

2002-04-12  Michael Snyder  <msnyder@redhat.com>

	* 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;
  


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] sim/common: use bfd access method.
  2002-04-12 18:22 [RFA] sim/common: use bfd access method Michael Snyder
@ 2002-04-14 17:37 ` Andrew Cagney
  2002-04-15 11:40   ` Michael Snyder
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2002-04-14 17:37 UTC (permalink / raw)
  To: Michael Snyder; +Cc: gdb-patches, cagney

> 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;
>   
> 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFA] sim/common: use bfd access method.
  2002-04-14 17:37 ` Andrew Cagney
@ 2002-04-15 11:40   ` Michael Snyder
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Snyder @ 2002-04-15 11:40 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: Michael Snyder, gdb-patches, cagney

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;
> >
> >


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-15 18:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-12 18:22 [RFA] sim/common: use bfd access method Michael Snyder
2002-04-14 17:37 ` Andrew Cagney
2002-04-15 11:40   ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox