Closed sureshs2k12 closed 5 years ago
Hi, dashboard
is not a system command, it's a GDB command, meaning that you have to run it inside a GDB session, what you want is:
in terminal A run the tty
command and note the path, say /dev/ttys001
;
in terminal B run:
$ gdb /some/executable
>>> dashboard -output /dev/ttys001
>>> start
now the dashboard will be displayed in terminal A and the prompt will be in terminal B.
Good luck!
Thanks for support ....
Please review above screen shot of my PC, which i got after following your flow
Thanks in advance...
Is the .gdbinit
file in your home folder?
yes, now i can open dashboard(before .gdbinit file not in home folder, now its in home folder), but how can i visible all register view & expressions in terminal and have any change to look the live status of variable?
check below screenshot,which i try to display the register,threads,expressions... etc
kindly request you to help me thanks in advance
help me to use the expressions and live watch of variable
You can use the help
command for about everything, in this case:
help dashboard expressions
So for example:
dashboard expressions watch foo()+5
Thanks lot for your response....
its working fine...
i need your help on below questions
please help me for it
I'm sorry, that's simply not possible with GDB (and any other debugger AFAIK).
it's ok.... and thanks
how can i use non-stop mode? what is command to use non-stop mode?
This has nothing to do with the dashboard, please refer to the GDB manual.
Hello all,
i have done following this $ wget -P ~ git.io/.gdbinit, after this i have open the new terminal & type the $ tty command then gave this command "dashboard -output /dev/ttys001" in terminal but i am getting error
please help me for further move