From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20110 invoked by alias); 5 Aug 2007 04:13:25 -0000 Received: (qmail 20024 invoked by uid 22791); 5 Aug 2007 04:13:24 -0000 X-Spam-Check-By: sourceware.org Received: from b.mail.sonic.net (HELO b.mail.sonic.net) (64.142.19.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 05 Aug 2007 04:13:23 +0000 Received: from webmail.sonic.net (b.webmail.sonic.net [64.142.100.148]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id l754DLD3004090 for ; Sat, 4 Aug 2007 21:13:21 -0700 Received: from 12.7.175.2 (SquirrelMail authenticated user msnyder) by webmail.sonic.net with HTTP; Sat, 4 Aug 2007 21:13:21 -0700 (PDT) Message-ID: <23704.12.7.175.2.1186287201.squirrel@webmail.sonic.net> Date: Sun, 05 Aug 2007 04:13:00 -0000 Subject: [patch] ada-lang.c, probable typo From: msnyder@sonic.net To: gdb-patches@sourceware.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20070804211321_58739" Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00102.txt.bz2 ------=_20070804211321_58739 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-length: 55 I'm sure this is what the author meant to type. ;-) ------=_20070804211321_58739 Content-Type: text/plain; name="1.txt" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="1.txt" Content-length: 959 2007-08-04 Michael Snyder * ada-lang.c (desc_bounds): Comparison of function address to NULL. Index: ada-lang.c =================================================================== RCS file: /cvs/src/src/gdb/ada-lang.c,v retrieving revision 1.99 diff -p -r1.99 ada-lang.c *** ada-lang.c 13 Jun 2007 17:11:09 -0000 1.99 --- ada-lang.c 5 Aug 2007 04:10:50 -0000 *************** desc_bounds (struct value *arr) *** 1322,1328 **** desc_bounds_type (thin_descriptor_type (type)); LONGEST addr; ! if (desc_bounds_type == NULL) error (_("Bad GNAT array descriptor")); /* NOTE: The following calculation is not really kosher, but --- 1322,1328 ---- desc_bounds_type (thin_descriptor_type (type)); LONGEST addr; ! if (bounds_type == NULL) error (_("Bad GNAT array descriptor")); /* NOTE: The following calculation is not really kosher, but ------=_20070804211321_58739--