Re: [PATCH, debug] Emit basic block markers in .debug_line section

2011-11-18 Thread Tom Tromey
> "Roberto" == Roberto Agostino Vitillo writes: Roberto> I ended up not using it and it's clear to me that its practical Roberto> uses may be questionable ("fast" single stepping in a Roberto> debugger?) but I thought it might be worth to share it. Thanks. I think that if there is no use fo

Re: [PATCH, debug] Emit basic block markers in .debug_line section

2011-11-15 Thread Roberto Agostino Vitillo
I considered to use it as a starting point to build the control-flow graph of a function in order to display it in a custom profiler we use internally since I could assume that I had the debugging information and I had to read the .debug_line section anyway to get the source lines. I ended up not

Re: [PATCH, debug] Emit basic block markers in .debug_line section

2011-11-15 Thread Tom Tromey
> "Roberto" == Roberto Agostino Vitillo writes: Roberto> With this patch DW_LNS_set_basic_block opcodes are emitted in Roberto> the .debug_line section marking the instructions that indicate Roberto> the beginning of a basic block as specified by the dwarf Roberto> standards 2,3 and 4. I'm c

[PATCH, debug] Emit basic block markers in .debug_line section

2011-11-14 Thread Roberto Agostino Vitillo
With this patch DW_LNS_set_basic_block opcodes are emitted in the .debug_line section marking the instructions that indicate the beginning of a basic block as specified by the dwarf standards 2,3 and 4. Tested on x86_64-linux also against gdb's 7.3.1 testsuite. r gcc/Changelog: 2011-11-14 Rob