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/5.3] Fix a compilation warning in hppa-tdep.c


I am not sure we want to pull this change in the 5.3 branch, as it does
not fix any regression. It's the change I checked in the trunk to fix a
compilation warning - the same warning appears in the 5.3 branch, so I
though I'd suggest it there too.

2002-10-30  Joel Brobecker  <brobecker@gnat.com>

        * hppa-tdep.c (low_text_segment_addres): Fix a compilation warning.

Should I apply it?
I say `Yes', and the same for any other HP changes you feel should be pulled in from the mainline.

Just keep an eye out for my long over due e-mail indicating `stop, no more 5.3 changes' :-/

Index: hppa-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/hppa-tdep.c,v
retrieving revision 1.27
diff -c -3 -p -r1.27 hppa-tdep.c
*** hppa-tdep.c	5 May 2002 01:15:13 -0000	1.27
--- hppa-tdep.c	30 Oct 2002 23:10:55 -0000
*************** static CORE_ADDR low_text_segment_addres
*** 300,306 ****
  static void
  record_text_segment_lowaddr (bfd *abfd, asection *section, void *ignored)
  {
!   if ((section->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY)
         == (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
        && section->vma < low_text_segment_address)
      low_text_segment_address = section->vma;
--- 300,306 ----
  static void
  record_text_segment_lowaddr (bfd *abfd, asection *section, void *ignored)
  {
!   if (((section->flags & (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
         == (SEC_ALLOC | SEC_LOAD | SEC_READONLY))
        && section->vma < low_text_segment_address)
      low_text_segment_address = section->vma;


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