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] Fix ptype problem printing typedefs defined differently in different compilation units


On 1/4/06, Daniel Jacobowitz <drow@false.org> wrote:
> I think it'd be pretty complicated.  The line may map to multiple
> functions, et cetera et cetera.

Sure, doing a perfect job isn't really practical given GDB's present
data structures.  But we could do as well as (say) "break FILE:LINE if
COND" does at determining the proper scope for evaluating COND.

Fred, to be clear, I don't want to discourage you by piling on
suggestions.  I see the patch as a bug fix as it stands.  "Would it be
hard..." was a genuine question.


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