Openwrt crash, how to build debuginfo to mt7628.ko?

Although it may not help here (with vendor SDK), but for future use with the actual OpenWrt:

  • build_dir contains the stripped versions without debug symbols
  • staging_dir contains the original intermediate versions with debug symbols, before stripping.

You should provide the staging_dir path for gdb for debugging.

Example discussion e.g. in

1 Like