2007-10-30 Markus Deuling <deuling@de.ibm.com>
* bsd-uthread.c (bsd_uthread_fetch_registers) (bsd_uthread_store_registers): Use get_regcache_arch to get at the current architecture by regcache.
This commit is contained in:
parent
fbff0d8f0b
commit
27524c05b8
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
||||||
|
|
||||||
|
* bsd-uthread.c (bsd_uthread_fetch_registers)
|
||||||
|
(bsd_uthread_store_registers): Use get_regcache_arch to get at the
|
||||||
|
current architecture by regcache.
|
||||||
|
|
||||||
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
2007-10-30 Markus Deuling <deuling@de.ibm.com>
|
||||||
|
|
||||||
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
|
* avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use
|
||||||
|
|
|
@ -266,7 +266,7 @@ bsd_uthread_mourn_inferior (void)
|
||||||
static void
|
static void
|
||||||
bsd_uthread_fetch_registers (struct regcache *regcache, int regnum)
|
bsd_uthread_fetch_registers (struct regcache *regcache, int regnum)
|
||||||
{
|
{
|
||||||
struct gdbarch *gdbarch = current_gdbarch;
|
struct gdbarch *gdbarch = get_regcache_arch (regcache);
|
||||||
struct bsd_uthread_ops *ops = gdbarch_data (gdbarch, bsd_uthread_data);
|
struct bsd_uthread_ops *ops = gdbarch_data (gdbarch, bsd_uthread_data);
|
||||||
CORE_ADDR addr = ptid_get_tid (inferior_ptid);
|
CORE_ADDR addr = ptid_get_tid (inferior_ptid);
|
||||||
CORE_ADDR active_addr;
|
CORE_ADDR active_addr;
|
||||||
|
@ -292,7 +292,7 @@ bsd_uthread_fetch_registers (struct regcache *regcache, int regnum)
|
||||||
static void
|
static void
|
||||||
bsd_uthread_store_registers (struct regcache *regcache, int regnum)
|
bsd_uthread_store_registers (struct regcache *regcache, int regnum)
|
||||||
{
|
{
|
||||||
struct gdbarch *gdbarch = current_gdbarch;
|
struct gdbarch *gdbarch = get_regcache_arch (regcache);
|
||||||
struct bsd_uthread_ops *ops = gdbarch_data (gdbarch, bsd_uthread_data);
|
struct bsd_uthread_ops *ops = gdbarch_data (gdbarch, bsd_uthread_data);
|
||||||
CORE_ADDR addr = ptid_get_tid (inferior_ptid);
|
CORE_ADDR addr = ptid_get_tid (inferior_ptid);
|
||||||
CORE_ADDR active_addr;
|
CORE_ADDR active_addr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue