This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]: Updated patch to output dwarf2 namespace debug info


On Mon, 1 Dec 2003 15:14:37 -0500, Daniel Berlin <dberlin@dberlin.org> wrote:

>> Then what does the debug info look like?
>
> Right now, no idea.
>>  I just want to make sure
>> that, in a mythical version of GDB that can actually deal with inlined
>> functions, 'break N::funcToInline' will still work.
>
> If it worked before, it should work now.
> The whole point of the DECL_ABSTRACT part is to make sure we still generate
> inlined subroutines in the context in which they are inlined, instead of
> the namespace in which they are coming from.

Not exactly.  We set DECL_ABSTRACT while we're generating the abstract
instance of the debug info for the function.  This should have the same
context as if it were a non-inline function.

Jason


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