microblaze_fetch instruction in order to use cache memory accesses
requested in target_read_code.
ChangeLog:
2014-06-17 Ajit Agarwal <ajitkum@xilinx.com>
* microblaze-tdep.c (microblaze_fetch_instruction): Use of
target_read_code.
+2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
+
+ * microblaze-tdep.c (microblaze_fetch_instruction): Use of
+ target_read_code.
+
2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
* microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
gdb_byte buf[4];
/* If we can't read the instruction at PC, return zero. */
- if (target_read_memory (pc, buf, sizeof (buf)))
+ if (target_read_code (pc, buf, sizeof (buf)))
return 0;
return extract_unsigned_integer (buf, 4, byte_order);