This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: 32-bit thread IDs
- To: Lee Merrill <lee_merrill at yahoo dot com>
- Subject: Re: 32-bit thread IDs
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 06 Jul 2001 14:12:28 -0400
- Cc: GDB Discussion <gdb at sources dot redhat dot com>
- References: <606bfcb1.0107060604.3ea7d3c1@posting.google.com>
> This is a wish-list item, I would like for gdb to support 32-bit thread IDs
> (with the high bit set) in remote mode. When the high bit is set on a
> thread ID, strtol returns 0x7fffffff when it tries to parse it,
> because the value won't fit in a long.
KevinB recently checke in changes that allowed GDB to support large
thread IDs. It sounds like remote.c just needs to be updated so that it
better maps between a remote-protocol thread-id and GDB's internal TPID.
Andrew