Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 2004 07:13:16 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 55294 for review
Message-ID:  <200406190713.i5J7DG6Y098269@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=55294

Change 55294 by marcel@marcel_nfs on 2004/06/19 07:13:12

	Cast td_tid to long.

Affected files ...

.. //depot/projects/gdb/sys/gdb/gdb_main.c#15 edit

Differences ...

==== //depot/projects/gdb/sys/gdb/gdb_main.c#15 (text+ko) ====

@@ -105,7 +105,7 @@
 	gdb_tx_reg(GDB_REG_PC);
 	gdb_tx_char(';');
 	gdb_tx_str("thread:");
-	gdb_tx_varhex(kdb_thread->td_tid);
+	gdb_tx_varhex((long)kdb_thread->td_tid);
 	gdb_tx_char(';');
 	gdb_tx_end();			/* XXX check error condition. */
 
@@ -185,7 +185,7 @@
 			if (gdb_rx_equal("fThreadInfo")) {
 				thr_iter = kdb_thr_first();
 				gdb_tx_begin('m');
-				gdb_tx_hex(thr_iter->td_tid, 8);
+				gdb_tx_hex((long)thr_iter->td_tid, 8);
 				gdb_tx_end();
 			} else if (gdb_rx_equal("sThreadInfo")) {
 				if (thr_iter == NULL) {
@@ -195,7 +195,7 @@
 				thr_iter = kdb_thr_next(thr_iter);
 				if (thr_iter != NULL) {
 					gdb_tx_begin('m');
-					gdb_tx_hex(thr_iter->td_tid, 8);
+					gdb_tx_hex((long)thr_iter->td_tid, 8);
 					gdb_tx_end();
 				} else {
 					gdb_tx_begin('l');



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406190713.i5J7DG6Y098269>