This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa/c] Signed read_register()
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [rfa/c] Signed read_register()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 11 Jul 2000 13:23:29 +1000
Hello,
The attatched patch adds a signed version of the read_register{,_pid}()
functions (read_signed_register{,_pid}()). MIPS uses this when reading
registers such as the PC/SP (well it will when I check in a few other
changes :-).
I think the existing read_register*() functions should be explicitly
re-named to read_unsigned_register() but that is another story :-)
Ok? MichaelS, regcache.c is yours.
Andrew