This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 6/6] Don't throw exception in dis_asm_memory_error
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?
>
Sorry.
> # 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
> an error.
How about this?
# GDB can't access memory because there is no loaded executable
# nor live inferior.
--
Yao (齐尧)