Source debugging in GDB.
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Source debugging in GDB.
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Date: Mon, 20 Mar 2017 00:52:16 -0700
- To: myrddin-dev@xxxxxxxxxxxxxx
Myrddin now emits .file and .loc directives when compiling for posixy targets. This should allow stepping through Myrddin code in GDB, setting breakpoints on lines, and other similar things, without reading the assembly and reverse engineering what's going on. Unfortunately, there's no similarly easy way of emitting dwarf type info, so that's going to take a lot more work. For now, print() is still your best bet there. -- Ori Bernstein
- Prev by Date: Re: [Bug?] Assertion triggered by seemingly-correct code
- Previous by thread: Re: [Bug?] Assertion triggered by seemingly-correct code
- Index(es):