tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ptrace(2) PT_STEP changes and gdb
On Aug 17, 2010, at 12:45 PM, Joerg Sonnenberger wrote:
> On Tue, Aug 17, 2010 at 12:12:31PM -0400, Paul Koning wrote:
>> If the goal is to allow older GDB binaries to continue to run, that's
>> a different matter. But in fact such binaries don't function in a
>> useful way except with single-threaded applications, so keeping them
>> running doesn't seem like a particularly interesting goal.
>
> I would think it is useful enough to be able to chroot(8) into a
> netbsd-5 userland and expect it to work. I am also not sure if there are
> other users of ptrace(2) that have the same issue. A huge lot of
> programs is still single threaded, so it shouldn't be broken without
> good reason.
Fair enough. But if GDB is the only real user of ptrace then fixing that would
be easiest.
I don't understand the reference to chroot. How does that relate to PT_STEP?
paul
Home |
Main Index |
Thread Index |
Old Index