gdb/python: use return values of add_setshow functions in add_setshow_generic