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: [patch] dwarf2read.c: Don't read pc/line-number mapping for type units


> Type units don't need the pc/line-number mapping,
> and this can save a lot of space.

Types in general have a sloc, and we sometimes use them. For instance,
trying the following:

        (gdb) ptype ambiguous_type
        Multiple matches for ambiguous_type
        [0] cancel
        [1] pck.ambiguous_type at pck.adb:8
        [2] bar.ambiguous_type at bar.adb:9
        >

Is your patch going to affect the above?

> Joel: I'd also like to check this into the 7.4 branch.
> IMO it's safe enough.

No problem on my end if the concerns above are unfounded.
Although I know I do not know this file as well as you do.
-- 
Joel


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