CORE_ADDR memaddr;
FILE *stream;
{
- /* Nothing is bigger than 8 bytes */
- char data[8];
disassemble_info info;
- read_memory (memaddr, data, sizeof (data));
GDB_INIT_DISASSEMBLE_INFO(info, stream);
- return print_insn_h8500 (memaddr, data, &info);
+ return print_insn_h8500 (memaddr, &info);
}
/* Given a GDB frame, determine the address of the calling function's frame.
{
if (!inside_entry_file (thisframe->pc))
- return read_memory_integer(thisframe->frame, 2)
+ return (read_memory_integer(thisframe->frame, 2) & 0xffff)
| (read_register(SEG_T_REGNUM) << 16);
else
return 0;
return 0;
}
-PTR
+value
h8500_value_of_trapped_internalvar (var)
struct internalvar *var;
{