D and GDB

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 4 12:24:17 PDT 2017


On Sunday, 4 June 2017 at 18:13:41 UTC, Russel Winder wrote:
> Sadly even using the correct command, I am not getting any data 
> that helps infer what the #### is going on. :-(
>
>
> #0  0x00007fffffffc770 in ?? ()
> #1  0x00007ffff7bb3d80 in dvb_scan_transponder () from 
> /usr/lib/x86_64-linux-gnu/libdvbv5.so.0
> #2  0x000055555557026d in 
> _D8libdvbv515ScanHandler_Ptr6__ctorMFNcPS6dvb_fe15dvb_v5_fe_parmsPS8dvb_file9dvb_entryiPUPvPS6dvb_fe15dvb_v5_fe_parmsZikkZS8libdvbv515ScanHandler_Ptr (this=..., frontendParameters=0x5555557b4830,
>     entry=0x5555557aa0b0, dmx_fd=4, 
> check_frontend=0x55555556f730 <checkFrontend>, other_nit=0, 
> timeout_multiplier=1) at 
> /home/users/russel/Repositories/Git/Masters/DVBTune/source/libdvbv5.d:140
> #3  0x000055555556fcea in 
> _D8channels15TransmitterData4scanMFxS8libdvbv510FrontendIdxkxkxkxkxbZC8channels12ChannelsData (this=..., fei=..., other_nit=0, timeout_multiplier=1, get_detected=1, get_nit=1,
>     dont_add_new_frequencies=false) at 
> /home/users/russel/Repositories/Git/Masters/DVBTune/source/channels.d:159
> #4  0x0000555555583251 in _Dmain (args=...) at 
> /home/users/russel/Repositories/Git/Masters/DVBTune/source/main.d:35

you have to pipe the output to ddemangle. Personally i don't know 
how to do this by hand since my IDE does the task automatically 
(http://bbasile.github.io/Coedit/widgets_gdb_commander).

Also i suppose you compiled with -g -gs ?


More information about the Digitalmars-d-learn mailing list