This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/rfc] regcache_raw_read_as_address() -> regcache_cooked_read_as_ulongest()
- From: Andrew Cagney <ac131313 at ges dot redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: Mark Kettenis <kettenis at science dot uva dot nl>
- Date: Mon, 12 Aug 2002 15:51:38 -0400
- Subject: [patch/rfc] regcache_raw_read_as_address() -> regcache_cooked_read_as_ulongest()
Hello,
This patch replaces the function regcache_raw_read_as_address() with the
pair:
regcache_cooked_read_as_longest()
regcache_cooked_read_as_ulongest()
The two calls to the old ..as_address() being replaced with the ulongest
version.
I think the change is ok (i386 shows no regressions, the mips doesn't
use this code :-). I'm just wondering about the names. Perhaps:
regcache_cooked_read_signed() & regcache_cooked_read_unsigned()?
thoughts?
Andrew