rx-tdep.c: Use target_read_code instead of target_read_memory.
authorKevin Buettner <kevinb@redhat.com>
Thu, 9 Jul 2015 23:05:31 +0000 (16:05 -0700)
committerKevin Buettner <kevinb@redhat.com>
Fri, 10 Jul 2015 20:14:32 +0000 (13:14 -0700)
commita0e28e54675fd92e73df71fed5d4f6c718f40102
tree1e345c3168d327c4d463a96493dd16059fd13b27
parent58c1b36c673c88f13fe0cf3844fef643c35e8318
rx-tdep.c: Use target_read_code instead of target_read_memory.

This change causes the prologue scanner and the frame type scanner in
rx-tdep.c to use target_read_code() instead of target_read_memory().
This change allows these instruction scanners to operate much more
quickly due to the fact that target_read_code() can potentially read
from a cache maintained by GDB.

gdb/ChangeLog:

* rx-tdep.c (rx_get_opcode_byte): Use target_read_code instead
of target_read_memory.
gdb/ChangeLog
gdb/rx-tdep.c
This page took 0.036063 seconds and 4 git commands to generate.