mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
instead of current_regcache. Make REGS const. (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update prototypes. * shnbsd-nat.c: Include "regcache.h". (shnbsd_fetch_inferior_registers): Pass current_regcache to shnbsd_supply_reg. (shnbsd_store_inferior_registers): Pass current_regcache to shnbsd_fill_reg. * Makefile.in (shbsd-nat.o): Update dependencies.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#ifndef SH_NBSD_TDEP_H
|
||||
#define SH_NBSD_TDEP_H
|
||||
|
||||
void shnbsd_supply_reg (char *, int);
|
||||
void shnbsd_fill_reg (char *, int);
|
||||
void shnbsd_supply_reg (struct regcache *, const char *, int);
|
||||
void shnbsd_fill_reg (const struct regcache *, char *, int);
|
||||
|
||||
#endif /* SH_NBSD_TDEP_H */
|
||||
|
||||
Reference in New Issue
Block a user