Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Thread Names in debugger

Hello

I wondered if there is some way of naming threads and see those names
in the debugger. I found some old discussions about this, but they
have not been of much help.

I'm using cdt 6 on Ubuntu 8.04.

To name the threads, I use prctl(PR_SET_NAME, "asdf"). This works on a
thread base as I can see using top -p PID and then the command 'H'.
Sadly, I've no idea how I can this name using gdb or the eclipse
debugger. Any hints?

Christoph


Back to the top