Cannot add Global Variables in debugging
DSF-GDB does not support displaying global variables in the variables view.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=219040
BTW, the Variables tab shows automatically the local variables. It is automatically updated with the new local variables while jumping into a function.
You can use the expressions view to show the global variables you are interested in.