Re: [RFA] print error message if (auto) disassembly failed

Joel Brobecker
2009-04-16T18:02:02Z

> How about
>
> #0 0x00007f8befcc8307 in ?? ()
> 0x00007f8befcc8307: (bad)
>
> instead? This is consistent with what "display/i $pc" displays if $pc
> has a bad value, such as if you somehow land in the middle of an
> instruction.

The problem is that this is not actually a "bad" instruction in this case,
but an invalid address. So I think that the "Cannot read memory at ..."
error message is more accurate.

--
Joel