Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-12

Dwarf Debug Information

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

dmitry boyarintsev

Hello

AFAIK, dwarf debug info generation is not yet fully implemented for the compiler. I'm interseted in CallFrame information, so debugger, can use it to unwind the call stack. I've tried to compiled hello world program using "fpc -gw3 hello.pas", and found that there's .debug_frame section.
Is DWARF Call Frame information generated? Is .debug_frame wrong place to searching for it? anything else am i missing?

Thanks,
Dmitry

Reply by email

Marc Weustink
to dmitry boyarintsev
dmitry boyarintsev wrote 9 lines
Hello AFAIK, dwarf debug info generation is not yet fully implemented for the compiler. I'm interseted in CallFrame information, so debugger, can use it to unwind the call stack. I've tried to compiled hello world program using "fpc -gw3 hello.pas", and found that there's .debug_frame section. Is DWARF Call Frame information generated? Is .debug_frame wrong place to searching for it? anything else am i missing?

at this moment callframes only get generated for 64bit exes. I've a pending patch which solves this. When I'm familiarized again with the current compiler sources, I'll commit.

Marc

Reply by email