PERFORCE change 55294 for review
Marcel Moolenaar
marcel at FreeBSD.org
Sat Jun 19 07:13:40 GMT 2004
http://perforce.freebsd.org/chv.cgi?CH=55294
Change 55294 by marcel at 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');
More information about the p4-projects
mailing list