This is the mail archive of the
mailing list for the GDB project.
Re: Comments on U_REGS_OFFSET and fetch_register...
- To: kevinb at cygnus dot com
- Subject: Re: Comments on U_REGS_OFFSET and fetch_register...
- From: Mark Kettenis <kettenis at wins dot uva dot nl>
- Date: Sat, 10 Jun 2000 02:19:39 +0200
- CC: gdb at sourceware dot cygnus dot com
- References: <1000609192235.ZM24244@ocotillo.lan>
I'm pretty sure no other system takes the braind^H^H^H^H^H^Hclever
approach to threads as Linux does. It's clear that a system that
chooses any other approach won't be using ptrace for
thread-specific things. HP-UX has ttrace, SVR4 has /proc, Mach-based
systems have a number of thread_ calls (IMHO a very clean interface,
where you can do almost anything to a process given the right
I wouldn't bother trying to get this "right" at this moment. We'll
have to bit the bullet of getting rid of all the PID munging in the
near future. Changing the code you outlined in your message will come
up naturally then.