[PATCH] Display full file path in MI style disassembly listing
Thu Oct 18 10:17:00 GMT 2012
On 10/18/2012 10:48 AM, Andrew Burgess wrote:
>>> I think we should
>>> output a "fullname" field for MI, like we do for breakpoints.
> I would be happy to take this approach as a compromise.
IMO, it's not really a compromise. It's all about giving all the data
to the frontend, so it can do whatever it pleases.
- the file path as recorded in the compilation. This is useful to have
so the user can identify issues with fullpath mappings.
- the file path gdb thinks that maps to in the filesystem, using the current
settings of "directory/set directories/etc".
I'd even argue that the backtrace path in question should not change the "file"
field in MI, but instead it would add a new field to the output, if that's
also useful for MI.
More information about the Gdb-patches