* infcall.c (call_function_by_hand): Use correct VALUE_TYPE macro.
authorCorinna Vinschen <corinna@vinschen.de>
Fri, 8 Oct 2004 08:15:56 +0000 (08:15 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 8 Oct 2004 08:15:56 +0000 (08:15 +0000)
gdb/ChangeLog
gdb/infcall.c

index 6a0ba787ceb41067bce3b3451bdebb0daf31efc6..32608056aefe6f213fa1123648dd84ee64f4b0b4 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-08  Corinna Vinschen  <vinschen@redhat.com>
+
+       * infcall.c (call_function_by_hand): Use correct VALUE_TYPE macro.
+
 2004-10-08  Nick Roberts  <nickrob@snap.net.nz>
 
        * MAINTAINERS: Update e-mail address.
index 53bcffd3ae7a6ba68efac515422ff680271c6761..ec4f11a013694f6351e9e327fa48bb2985eef499 100644 (file)
@@ -307,7 +307,7 @@ call_function_by_hand (struct value *function, int nargs, struct value **args)
   CORE_ADDR funaddr;
   int using_gcc;               /* Set to version of gcc in use, or zero if not gcc */
   CORE_ADDR real_pc;
-  struct type *ftype = check_typedef (SYMBOL_TYPE (function));
+  struct type *ftype = check_typedef (VALUE_TYPE (function));
   CORE_ADDR bp_addr;
   struct regcache *caller_regcache;
   struct cleanup *caller_regcache_cleanup;