2002-08-22 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 22 Aug 2002 22:25:17 +0000 (22:25 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 22 Aug 2002 22:25:17 +0000 (22:25 +0000)
* blockframe.c (generic_call_dummy_register_unwind): Use
regcache_cooked_read to catch cases in which the variable is
stored in a pseudo register.

gdb/ChangeLog
gdb/blockframe.c

index 7ae79d19659b88a92f2bd4715e2172cbeee62852..f49ba9bb2048ffa6f211c8ede849ade201f25e19 100644 (file)
@@ -1,3 +1,9 @@
+2002-08-22  Elena Zannoni  <ezannoni@redhat.com>
+
+       * blockframe.c (generic_call_dummy_register_unwind): Use
+       regcache_cooked_read to catch cases in which the variable is
+       stored in a pseudo register.
+
 2002-08-22  Andrew Cagney  <cagney@redhat.com>
 
        * NEWS: Mention that the i960 has been made obsolete.
index bb19b0a661dc654defe157732a6a90f444d8765d..b2c5d0eabe9837df85395fe33142404164f4c79d 100644 (file)
@@ -1402,11 +1402,10 @@ generic_call_dummy_register_unwind (struct frame_info *frame, void **cache,
 #endif
       gdb_assert (registers != NULL);
       /* Return the actual value.  */
-      /* FIXME: cagney/2002-06-26: This should be via the
-         gdbarch_register_read() method so that it, on the fly,
+      /* Use the regcache_cooked_read() method so that it, on the fly,
          constructs either a raw or pseudo register from the raw
          register cache.  */
-      regcache_raw_read (registers, regnum, bufferp);
+      regcache_cooked_read (registers, regnum, bufferp);
     }
 }
 
This page took 0.030131 seconds and 4 git commands to generate.