Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question seems more relevant here than SO. I've been trying to debug a library that X uses through a GDB session that I'm running through SSH, but it seems that on OpenSUSE, the SSH session is being "suspended" before GDB hits a breakpoint that occurs in the library on suspend. As a result, the system waits on the remote GDB to continue, but I can't continue because the SSH session is "suspended".

I noticed on Ubuntu 12.04 and 12.10, the GDB session stops while the SSH connection is still active, so I can continue on the breakpoint and continue on the SIGUSR1 signal that GDB gets. Is it possible to mimic this behaviour on SUSE and "reverse" the order of suspends?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I found the difference between the two distros. I removed /usr/lib/pm-utils/sleep.d/50rcnetwork, and now the SSH session suspends after GDB gets the SIGUSR1 signal.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.