commit | 3a480f1e35b7e22a3ca6309dae8f665c8dacd104 | [log] [tgz] |
---|---|---|
author | Andrew Burgess <andrew.burgess@embecosm.com> | Thu Oct 07 17:50:33 2021 +0100 |
committer | Andrew Burgess <andrew.burgess@embecosm.com> | Mon Oct 11 14:07:03 2021 +0100 |
tree | c9277dbb6fa1bbb1b033a3a1ab0026b8d1a57452 | |
parent | ba7c18a48457d949df1f817c46482c5a09ac627d [diff] |
z80/disassembler: call memory_error_func when appropriate If a call to the read_memory_func fails then we should call the memory_error_func to notify the user of the disassembler of the address that was a problem. Without this GDB will report all memory errors as being at address 0x0. opcodes/ChangeLog: * z80-dis.c (fetch_data): Call memory_error_func if the read_memory_func call fails.