GDB plugin: fix for non existing attributes

Signed-off-by: Cleber Rosa <crosa@redhat.com>