]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Wed, 7 Jan 2004 08:32:51 +0000 (08:32 +0000)
committerMichael Chastain <mec@google.com>
Wed, 7 Jan 2004 08:32:51 +0000 (08:32 +0000)
* gdb.base/cvexpr.c: Be type-safe with function pointers and
data pointers.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/cvexpr.c

index bc3df7ace6e532bebf9b4802f02643e85a60a01c..af04655bca3ac7a237353bc5f3274c7da22e1dc7 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * gdb.base/cvexpr.c: Be type-safe with function pointers and
+       data pointers.
+
 2004-01-06  Michael Chastain  <mec.gnu@mindspring.com>
 
        * gdb.cp/m-static.exp: Compile one source file at a time.
index 587120928e4933c79b2616c991cc7f53426e815a..afbcd3172c38901c6776cc0d41b0e0b5ceb7e870 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2004 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -409,26 +409,26 @@ int main ()
   use (&v_boolean2);
   use (&v_misordered);
 
-  use (v_char_func);
-  use (v_signed_char_func);
-  use (v_unsigned_char_func);
+  use (&v_char_func);
+  use (&v_signed_char_func);
+  use (&v_unsigned_char_func);
 
-  use (v_short_func);
-  use (v_signed_short_func);
-  use (v_unsigned_short_func);
+  use (&v_short_func);
+  use (&v_signed_short_func);
+  use (&v_unsigned_short_func);
 
-  use (v_int_func);
-  use (v_signed_int_func);
-  use (v_unsigned_int_func);
+  use (&v_int_func);
+  use (&v_signed_int_func);
+  use (&v_unsigned_int_func);
 
-  use (v_long_func);
-  use (v_signed_long_func);
-  use (v_unsigned_long_func);
+  use (&v_long_func);
+  use (&v_signed_long_func);
+  use (&v_unsigned_long_func);
 
-  use (v_long_long_func);
-  use (v_signed_long_long_func);
-  use (v_unsigned_long_long_func);
+  use (&v_long_long_func);
+  use (&v_signed_long_long_func);
+  use (&v_unsigned_long_long_func);
 
-  use (v_float_func);
-  use (v_double_func);
+  use (&v_float_func);
+  use (&v_double_func);
 }