Hello, The attached patch fixes a bug in QNX portion of gdb; wrong pointer was being passed to devctl. Thanks, Aleksandar ChangeLog: * nto-procfs.c (get_regset): Pass correct pointer.