This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9755] Thread id printed in negative
- From: "drow at false dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 17 Jan 2009 16:10:49 -0000
- Subject: [Bug gdb/9755] Thread id printed in negative
- References: <20090117152747.9755.naaaag@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drow at false dot org 2009-01-17 16:10 -------
Subject: Re: New: Thread id printed in negative
On Sat, Jan 17, 2009 at 03:27:48PM -0000, naaaag at gmail dot com wrote:
> %ld is wrong. It should be %lu.
No, %ld in what you posted is used for the LWP ID. Those are
generally only 16-bit positive integers.
> It is kind of fixed in 6.8 with a %lx , rather can we print it in %lu format
> itself ?
No, %lx is right. Nowadays they are pointer values (in NPTL). Why
should we change it?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9755
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.