diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-13 14:32:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-13 14:32:28 +0000 |
commit | 28fc67409494a8a33cb1a7826a896a054ca71dd3 (patch) | |
tree | 55b6296ba26a63f1c11e8d4d04e0131247553985 /gdb/regcache.h | |
parent | a378f4192681bdbeb5f7aa12ae3c6e9505cd14a7 (diff) | |
download | gdb-28fc67409494a8a33cb1a7826a896a054ca71dd3.zip gdb-28fc67409494a8a33cb1a7826a896a054ca71dd3.tar.gz gdb-28fc67409494a8a33cb1a7826a896a054ca71dd3.tar.bz2 |
2002-08-13 Andrew Cagney <cagney@redhat.com>
* i386-tdep.c (i386_register_name): Handle mmx registers.
(mmx_regnum_p): New function.
(i386_mmx_names): New array.
(mmx_num_regs): New variable.
(i386_pseudo_register_read): New function.
(i386_pseudo_register_write): New function.
(mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser.
* regcache.c (regcache_raw_read_unsigned): New function.
(regcache_raw_read_signed): New function.
* regcache.h (regcache_raw_read_unsigned): Declare.
(regcache_raw_read_signed): Declare.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 117b088..4f6a079 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -38,6 +38,10 @@ struct regcache *regcache_xmalloc (struct gdbarch *gdbarch); void regcache_raw_read (struct regcache *regcache, int rawnum, void *buf); void regcache_raw_write (struct regcache *regcache, int rawnum, const void *buf); +extern void regcache_raw_read_signed (struct regcache *regcache, + int regnum, LONGEST *val); +extern void regcache_raw_read_unsigned (struct regcache *regcache, + int regnum, ULONGEST *val); int regcache_valid_p (struct regcache *regcache, int regnum); /* Transfer a cooked register [0..NUM_REGS+NUM_PSEUDO_REGS). */ |