Hi there. I am on Windows 7, and it's my first attempt to debug an application on target device. I'm using SDK v. 2.1.
The problem is that when I launch the app in debug mode, GDB raises a security exception and refuses to load the binary. Details are below:
Reading symbols from D:\Projects\tizen\workspace\XXXX\Debug-Tizen-Device\.tpk\bin\XXXX.exe...done.
To enable execution of this file add
add-auto-load-safe-path D:\Projects\tizen\workspace\XXXX\.gdbinit
line to your configuration file "$HOME/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "$HOME/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: File "D:\Projects\tizen\workspace\XXXX\.gdbinit" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
Now, has anyone experienced and fixed this? I tried to create a file named .gdbinit in either project home (D:\Projects\tizen\workspace\XXXX\) and my "home" folder in Windows ("C:\users\myuser") and put there "set auto-load safe-path /" but it doesn't work.
I can see that GDB is parsing at least the first file (because if I generate a syntax error there it complains) but it doesn't seem to care about the command I am trying to give it.
Any clue?
Thanks in advance,
Filippo