JuliaPerf / UProbes.jl

MIT License
9 stars 5 forks source link

GDB fails on `info probes` #1

Closed vchuravy closed 5 years ago

vchuravy commented 5 years ago
(gdb) info probes stap
Type Provider Name Where              Semaphore          Object         
stap julia    test 
stap-probe.c:1273: internal-error: sect_index_data not initialized
A problem internal to GDB has been detected,

I was thinking that maybe we needed debuginfo, but that apperently wasn't it see https://github.com/vchuravy/UProbes.jl/tree/vc/di and https://github.com/maleadt/LLVM.jl/pull/139

vchuravy commented 5 years ago

Fixed by creating an unecessary .data section 0605dc1c26cac57484c08e644c174a79b98458ed