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: [patchv3 13/11] Make relative-with-system-absolute the default


On Tue, 05 Feb 2013 18:35:35 +0100, Doug Evans wrote:
> I'm not comfortable with the conflating of the term "system" with
> "separate debug info".

Are you fine with considering "system" to be the files with separate debug
info located from 'set debug-file-directory'?

Or do you require to have new 'set debug-file-directory-for-system' and
separate 'set debug-file-directory' (empty by default)?


> I can also imagine wanting system supplied separate debug info treated
> differently from separate debug info files for the app being debugged.

"separate debug info files for the app being debugged" are those found at the
location of the binary itself or under its ".debug/" subdirectory?

If that is not enough that the new
option 'set debug-file-directory-for-system' vs.
application-specific 'set debug-file-directory' should satisfy it, I hope.


> One thought (at the implementation level) was to have the setting per-objfile.

There is still also the option to just make the default:
	set filename-display absolute

For any larger application - which may involve the app separate debug info - it
is probably the best option anyway.

I just did not want to complicate debugging of small schoolbook applications
but maybe absolute filenames would be easier even in those cases, dunno.


Thanks,
Jan


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