- Unpack attached archive to /mtd_rwcommon/
- copy /mtd_rwcommon/gdb to some location from PATH variable
- add to your .gdbinit:
Code: Select all
set libthread-db-search-path /mtd_rwcommon/debug/lib/ set auto-load safe-path /mtd_rwcommon/debug/lib/

Code: Select all
set libthread-db-search-path /mtd_rwcommon/debug/lib/
set auto-load safe-path /mtd_rwcommon/debug/lib/
Code: Select all
gdb /mtd_exe/exeDSP 61
You start gdb incorrectly you should use:plasticassius wrote:Wow, this is exciting! I've tried to get gdb working, but never got very far. In order to try out your version of gdb, I thought I'd try to make a patch to allow media playback from an xfs format usb drive. However, I'm having some problems. Would you let me know if you can see problems with what I'm doing?
I started gdb withAfter I did that, when I pressed MEDIA (or any other remote button), the led on the tv flash, but the button has no other effect. After, when I exit gdb with quit, the button has it's effect. Since the button doesn't seem to execute anything while gdb is running, I thought that exeDSP wasn't running. However, when I type 'run' to gdb, I get "The program being debugged has been started already." I want to place breakpoints to see what happens when I press MEDIA, but pressing MEDIA doesn't do anything when gdb is running.Code: Select all
gdb /mtd_exe/exeDSP 61
Code: Select all
gdb --pid 61
Code: Select all
gdb --pid `pidof exeDSP`
I think you don't know how to use gdbplasticassius wrote:Thanks, but it behaves the same when I start it the way you recommend.
Code: Select all
continue