diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:42 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:42 -0400 |
commit | b66f5587de2a096f357124b20376b2bab980238b (patch) | |
tree | 54bff71969b64a818820a645ce4ee8046401cbb8 /gdb/i386-darwin-tdep.c | |
parent | 6aa7d72401387cacc5a7699520045ce9083a526a (diff) | |
download | gdb-b66f5587de2a096f357124b20376b2bab980238b.zip gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.gz gdb-b66f5587de2a096f357124b20376b2bab980238b.tar.bz2 |
Remove regcache_cooked_write
Remove regcache_cooked_write, update callers to use
regcache::cooked_write.
gdb/ChangeLog:
* regcache.h (regcache_cooked_write): Remove, update callers to
use regcache::cooked_write.
* regcache.c (regcache_cooked_write): Remove.
Diffstat (limited to 'gdb/i386-darwin-tdep.c')
-rw-r--r-- | gdb/i386-darwin-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-darwin-tdep.c b/gdb/i386-darwin-tdep.c index 21f0a4c..5a1807a 100644 --- a/gdb/i386-darwin-tdep.c +++ b/gdb/i386-darwin-tdep.c @@ -227,10 +227,10 @@ i386_darwin_push_dummy_call (struct gdbarch *gdbarch, struct value *function, /* Finally, update the stack pointer... */ store_unsigned_integer (buf, 4, byte_order, sp); - regcache_cooked_write (regcache, I386_ESP_REGNUM, buf); + regcache->cooked_write (I386_ESP_REGNUM, buf); /* ...and fake a frame pointer. */ - regcache_cooked_write (regcache, I386_EBP_REGNUM, buf); + regcache->cooked_write (I386_EBP_REGNUM, buf); /* MarkK wrote: This "+ 8" is all over the place: (i386_frame_this_id, i386_sigtramp_frame_this_id, |