Mouse, X, and gdb

Justin Hibbits jrh29 at alumni.cwru.edu
Fri Mar 19 01:37:39 UTC 2010


As I've reported in the past, my mouse frequently gets stuck to the side or
top of the screen in X for some unknown reason, and either doesn't move
except along the edge, or moves and snaps back with any sudden motion.  I've
attributed it to problems with restoring floating point registers from
signal return, so when it happened last (about 5 minutes ago) I decided to
attach gdb to it to check the values of the FPRs.  Examination came up with
nothing useful, so I detached and went to restart X.  However, upon
detaching, I found that the mouse cursor has been restored to working order,
so no X restart was necessary.

This is somewhat confusing, I didn't expect gdb to modify the state of the
running process at all, but maybe someone else can shed some light on this.

- Justin


More information about the freebsd-ppc mailing list