diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-08-06 20:07:44 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-08-06 20:07:44 +0000 |
commit | 4cdfadb1f8e1e5465112c72e7ee5d7552f3145fc (patch) | |
tree | 1374f304a53eccd678d2ec36cfa0feb64d91516d /gdb/ada-lang.c | |
parent | bd97cb95f84989bc1e3e771718098411c34338e2 (diff) | |
download | gdb-4cdfadb1f8e1e5465112c72e7ee5d7552f3145fc.zip gdb-4cdfadb1f8e1e5465112c72e7ee5d7552f3145fc.tar.gz gdb-4cdfadb1f8e1e5465112c72e7ee5d7552f3145fc.tar.bz2 |
2007-08-06 Michael Snyder <msnyder@access-company.com>
* ada-lang.c (desc_bounds): Comparison of function address to NULL.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r-- | gdb/ada-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 068a6ed..58d820d 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -1322,7 +1322,7 @@ desc_bounds (struct value *arr) desc_bounds_type (thin_descriptor_type (type)); LONGEST addr; - if (desc_bounds_type == NULL) + if (bounds_type == NULL) error (_("Bad GNAT array descriptor")); /* NOTE: The following calculation is not really kosher, but |