Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [patch] ada-lang.c, probable typo
@ 2007-08-05  4:13 msnyder
  2007-08-06  4:56 ` Joel Brobecker
  0 siblings, 1 reply; 7+ messages in thread
From: msnyder @ 2007-08-05  4:13 UTC (permalink / raw)
  To: gdb-patches

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

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

end of thread, other threads:[~2007-08-07 16:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-05  4:13 [patch] ada-lang.c, probable typo msnyder
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

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