This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] print error message if (auto) disassembly failed
> Date: Thu, 16 Apr 2009 16:57:35 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> > OK, but your suggested message text is too long, I think. Something
> > shorter, like "(address unreadable)" is better, IMO.
>
> Frankly, I think this is overkill - even with the 64bit addresses
> the line was still less than 70 characters long. But I'm not going
> to argue. Here you go:
>
> (gdb) core core
> warning: core file may not match specified executable file.
> Core was generated by `./crash'.
> Program terminated with signal 6, Aborted.
> #0 0x00007fe6fe543307 in ?? ()
> 0x00007fe6fe543307: (cannot read memory)
Fine with me, although "cannot read memory" is a bit more general,
English-wise, than the actual cause, which is that this specific
address is unreadable.