/* Code dealing with register stack frames, for GDB, the GNU debugger.
Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
- 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2007, 2008, 2009
+ 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of GDB.
{
struct frame_unwind_cache *cache =
FRAME_OBSTACK_ZALLOC (struct frame_unwind_cache);
+
cache->regcache = regcache;
return cache;
}
void **this_prologue_cache)
{
struct frame_unwind_cache *cache = *this_prologue_cache;
+
return get_regcache_arch (cache->regcache);
}