wok-next annotate visualboyadvance/stuff/1.7.2-gcc41.patch @ rev 8188

imported patch toolchain/glibc-locale.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents
children
rev   line source
gokhlayeh@7031 1 diff -ru src/prof/prof.cpp src/prof/prof.cpp
gokhlayeh@7031 2 --- src/prof/prof.cpp 2004-05-14 00:31:58.000000000 +1000
gokhlayeh@7031 3 +++ src/prof/prof.cpp 2006-06-03 13:49:41.000000000 +1000
gokhlayeh@7031 4 @@ -266,7 +266,7 @@
gokhlayeh@7031 5 for (toindex=froms[fromindex]; toindex!=0; toindex=tos[toindex].link) {
gokhlayeh@7031 6 if(profWrite8(fd, GMON_TAG_CG_ARC) ||
gokhlayeh@7031 7 profWrite32(fd, (u32)frompc) ||
gokhlayeh@7031 8 - profWrite32(fd, (u32)tos[toindex].selfpc) ||
gokhlayeh@7031 9 + profWrite32(fd, (u32)(intptr_t)tos[toindex].selfpc) ||
gokhlayeh@7031 10 profWrite32(fd, tos[toindex].count)) {
gokhlayeh@7031 11 systemMessage(0, "mcount: arc");
gokhlayeh@7031 12 fclose(fd);
gokhlayeh@7031 13 diff -ru src/sdl/debugger.cpp src/sdl/debugger.cpp
gokhlayeh@7031 14 --- src/sdl/debugger.cpp 2004-05-14 00:13:14.000000000 +1000
gokhlayeh@7031 15 +++ src/sdl/debugger.cpp 2006-06-03 13:49:57.000000000 +1000
gokhlayeh@7031 16 @@ -950,9 +950,9 @@
gokhlayeh@7031 17 {
gokhlayeh@7031 18 u32 address = 0;
gokhlayeh@7031 19 if(mem >= (u32*)&workRAM[0] && mem <= (u32*)&workRAM[0x3ffff])
gokhlayeh@7031 20 - address = 0x2000000 + ((u32)mem - (u32)&workRAM[0]);
gokhlayeh@7031 21 + address = 0x2000000 + ((u32)(intptr_t)mem - (u32)(intptr_t)&workRAM[0]);
gokhlayeh@7031 22 else
gokhlayeh@7031 23 - address = 0x3000000 + ((u32)mem - (u32)&internalRAM[0]);
gokhlayeh@7031 24 + address = 0x3000000 + ((u32)(intptr_t)mem - (u32)(intptr_t)&internalRAM[0]);
gokhlayeh@7031 25
gokhlayeh@7031 26 if(size == 2)
gokhlayeh@7031 27 printf("Breakpoint (on write) address %08x old:%08x new:%08x\n",