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: [rfc 2/2] Follow DW_AT_linkage_name for methods [Re: The future of dwarf2_physname]


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> As for how to address the (remote?) possibility that we will need a
Keith> return type, I'd like to offer the idea that we might introduce some
Keith> sort of qualifier flag, for example, "break blah<int>/int" or
Keith> "break/int blah<int>" or something along those lines. Of course, this
Keith> is well beyond the scope of 7.3. Just thought I'd toss this out there,
Keith> though, as a starting point should this actually become a problem.

If we are adding linespec syntax, it seems to me we should just
recognize the return type as well: 'break int templatefunction()'.  This
is immediately recognizable to the C++ programmer and preserve the "nm
-C cut-and-paste" property as well.  Only if this cannot be done for
some reason do I think we should consider gdb-specific alternatives.

Tom


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