This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
To just to clarify something, I'm being critical of the overall design here, not your patch. The comment is for sparc-nat.c (which also gets used on sun-4 and free bsd systems).It's not an assumption at this point. proc-service.c:230 to thread_db_fetch_registers is the only path into lin_lwp_fetch_registers. And that does: inferior_ptid = BUILD_LWP (lwpid, ph->pid); So at this point we _know_ that the thread we're querying has its registers in the LWP. That's the whole point.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |