I would like to use esp-gdbstub(https://github.com/espressif/esp-gdbstub) with ESP8266_RTOS_SDK (https://github.com/espressif/ESP8266_RTOS_SDK). I have tried to make the necessary changes to have it compiled as a component in my project. But I get the following error during compilation:
/home/zerous/src/meshle/mesgw/build/gdbstub/libgdbstub.a(gdbstub-entry.o): In function `noIcountReset':
/home/zerous/src/meshle/mesgw/components/gdbstub/gdbstub-entry.S:117:(.text+0x6d): dangerous relocation: call0: \
call target out of range: gdbstub_handle_debug_exception
/home/zerous/src/meshle/mesgw/build/gdbstub/libgdbstub.a(gdbstub-entry.o): In function `gdbstub_user_exception_e\
ntry':
/home/zerous/src/meshle/mesgw/components/gdbstub/gdbstub-entry.S:235:(.text+0x129): dangerous relocation: call0:\
call target out of range: gdbstub_handle_user_exception
/home/zerous/src/meshle/mesgw/build/gdbstub/libgdbstub.a(gdbstub.o):(.irom0.literal+0x4): undefined reference to\
`user_fatal_exception_handler'
collect2: error: ld returned 1 exit status
make: *** [/home/zerous/src/esp/ESP8266_RTOS_SDK/make/project.mk:510: /home/zerous/src/meshle/mesgw/build/mqtt_d\
emo.elf] Error 1
Please let me know if I am doing something wrong.