cvs commit: src/gnu/usr.bin/gdb/kgdb kthr.c trgt.c trgt_amd64.c
trgt_arm.c trgt_i386.c trgt_ia64.c trgt_powerpc.c trgt_sparc64.c
John Baldwin
jhb at FreeBSD.org
Thu May 1 20:36:48 UTC 2008
jhb 2008-05-01 20:36:48 UTC
FreeBSD src repository
Modified files:
gnu/usr.bin/gdb/kgdb kthr.c trgt.c trgt_amd64.c trgt_arm.c
trgt_i386.c trgt_ia64.c trgt_powerpc.c
trgt_sparc64.c
Log:
- Change how the vmcore target maps FreeBSD thread IDs to GDB ptids. We
now only use the TID and ignore the PID and use pid_to_ptid() to build a
ptid treating the TID as a PID. The benefit of this is that the vmcore
target now uses the same scheme as GDB's remote targets. As a result,
the 'tid' command now works for remote targets (however, it only accepts
TIDs and not addresses of 'struct thread' objects).
- Use gdb_thread_select() to do the actual thread switch for the 'tid' and
'proc' commands. This now gives the same UI feedback when switching
threads as the GDB 'thread' command rather than providing no visual
output at all.
MFC after: 1 week
Revision Changes Path
1.12 +12 -9 src/gnu/usr.bin/gdb/kgdb/kthr.c
1.12 +20 -30 src/gnu/usr.bin/gdb/kgdb/trgt.c
1.10 +1 -1 src/gnu/usr.bin/gdb/kgdb/trgt_amd64.c
1.5 +1 -1 src/gnu/usr.bin/gdb/kgdb/trgt_arm.c
1.11 +2 -2 src/gnu/usr.bin/gdb/kgdb/trgt_i386.c
1.6 +1 -1 src/gnu/usr.bin/gdb/kgdb/trgt_ia64.c
1.4 +1 -1 src/gnu/usr.bin/gdb/kgdb/trgt_powerpc.c
1.8 +1 -1 src/gnu/usr.bin/gdb/kgdb/trgt_sparc64.c
More information about the cvs-src
mailing list