Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: msnyder@sonic.net
To: gdb-patches@sourceware.org
Subject: [patch] ada-lang.c, probable typo
Date: Sun, 05 Aug 2007 04:13:00 -0000	[thread overview]
Message-ID: <23704.12.7.175.2.1186287201.squirrel@webmail.sonic.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 55 bytes --]

I'm sure this is what the author meant to type.   ;-)


[-- Attachment #2: 1.txt --]
[-- Type: text/plain, Size: 959 bytes --]

2007-08-04  Michael Snyder  <msnyder@access-company.com>

	* 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

             reply	other threads:[~2007-08-05  4:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05  4:13 msnyder [this message]
2007-08-06  4:56 ` Joel Brobecker
2007-08-06 11:09   ` Daniel Jacobowitz
2007-08-06 11:30     ` Eli Zaretskii
2007-08-06 19:57       ` msnyder
2007-08-07 16:57     ` Joel Brobecker
2007-08-06 20:07   ` msnyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=23704.12.7.175.2.1186287201.squirrel@webmail.sonic.net \
    --to=msnyder@sonic.net \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox