This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]