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 Sat, Feb 2, 2013 at 10:06 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Wed, 30 Jan 2013 18:16:38 +0100, Eli Zaretskii wrote:
>> > --- a/gdb/NEWS
>> > +++ b/gdb/NEWS
>> > @@ -119,7 +119,9 @@ set filename-display basename|relative|absolute|relative-with-system-absolute
>> >                       |basename-with-system-absolute
>> >  show filename-display
>> >    Control the way in which filenames is displayed.
>> > -  The default is "relative", which preserves previous behavior.
>> > +  Previous behavior was "relative".
>> > +  New default is "relative-with-system-absolute", which prints source filenames
>> > +  from files with present separate debug info in absolute form.
>>
>> I believe "present" should be removed from here.
>
> I will remove it but it was present there to highlight it does not apply to
> files with separated debug info where the separate debug info is currently not
> installed.  Although in such case no source filename is printed at all so it
> is irrelevant whether it would be printed in absolute or relative form.
>
> But maybe I am too biased into the internal details not interesting to casual
> user.

Hi.
I'm not comfortable with the conflating of the term "system" with
"separate debug info".
I can imagine that for distributions the common usage of this option
will be with
system supplied separate debug info, but the two concepts are orthogonal.

I can also imagine wanting system supplied separate debug info treated
differently from separate debug info files for the app being debugged.
How to achieve that ... dunno.
One thought (at the implementation level) was to have the setting per-objfile.
How to effect that from the u/i ... dunno.

Thoughts?


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