Date: Sun, 30 May 2004 20:50:46 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 53844 for review Message-ID: <200405310350.i4V3okhj081191@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=53844 Change 53844 by marcel@marcel_sledge on 2004/05/30 20:50:43 ksym_start & ksym_end have type vm_offset_t. Give MD_FETCH an integral type the width of a pointer to avoid casting. Affected files ... .. //depot/projects/gdb/sys/amd64/amd64/machdep.c#12 edit Differences ... ==== //depot/projects/gdb/sys/amd64/amd64/machdep.c#12 (text+ko) ==== @@ -1140,8 +1140,8 @@ boothowto = MD_FETCH(kmdp, MODINFOMD_HOWTO, int); kern_envp = MD_FETCH(kmdp, MODINFOMD_ENVP, char *) + KERNBASE; #ifdef DDB - ksym_start = MD_FETCH(kmdp, MODINFOMD_SSYM, void *); - ksym_end = MD_FETCH(kmdp, MODINFOMD_ESYM, void *); + ksym_start = MD_FETCH(kmdp, MODINFOMD_SSYM, uintptr_t); + ksym_end = MD_FETCH(kmdp, MODINFOMD_ESYM, uintptr_t); #endif /* Init basic tunables, hz etc */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405310350.i4V3okhj081191>