This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]