This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 6/6] Don't throw exception in dis_asm_memory_error
On 01/18/2017 08:54 AM, Yao Qi wrote:
On 17-01-17 08:42:24, Luis Machado wrote:
+ gdb_test_internal "disassemble 0x0,+4" \
+ "Cannot access memory at address 0x0"
I think you missed the comment you had proposed?
# GDB can't access any memory because there is no live inferior.
I take it we have no loaded executable as well? Otherwise we could
eventually read data from the executable file, which wouldn't yield
How about this?
# GDB can't access memory because there is no loaded executable
# nor live inferior.
Looks good to me.