Strange as it sounds, I only got a chance to work on this now. work and life has been extremely busy.
So i installed the version supplied here, and when i started the GDB it said that its "not in executable format: File format not recognized",
Am I doing this correct?
DiskStation> gdb /usr/local/tvheadend/bin/tvheadend 4241
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/usr/local/tvheadend/bin/tvheadend": not in executable format: File format not recognized
Attaching to process 4241
"/volume1/@appstore/tvheadend/bin/tvheadend": not in executable format: File format not recognized
(gdb)