From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18533 invoked by alias); 30 Oct 2002 23:20:00 -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 18469 invoked from network); 30 Oct 2002 23:19:59 -0000 Received: from unknown (HELO takamaka.act-europe.fr) (142.179.108.108) by sources.redhat.com with SMTP; 30 Oct 2002 23:19:59 -0000 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 636A8D2CC7; Wed, 30 Oct 2002 15:21:54 -0800 (PST) Date: Wed, 30 Oct 2002 15:20:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA/5.3] Fix a compilation warning in hppa-tdep.c Message-ID: <20021030232154.GP903@gnat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="KDt/GgjP6HVcx58l" Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2002-10/txt/msg00595.txt.bz2 --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 405 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 * hppa-tdep.c (low_text_segment_addres): Fix a compilation warning. Should I apply it? -- Joel --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hppa-tdep.c.diff" Content-length: 985 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; --KDt/GgjP6HVcx58l--