Search
lxdream.org :: lxdream :: r1120:7c40a0f687b3
lxdream 0.9.1
released Jun 29
Download Now
changeset1120:7c40a0f687b3
parent1119:45602839e067
child1121:c2d827cbdf37
authornkeynes
dateFri Sep 10 08:50:55 2010 +1000 (13 years ago)
Add missing sh4_translate_breakpoint_hit to the symbol table
Change asm() to __asm__() as it's more likely to work
src/sh4/sh4x86.in
1.1 --- a/src/sh4/sh4x86.in Fri Sep 10 08:48:34 2010 +1000
1.2 +++ b/src/sh4/sh4x86.in Fri Sep 10 08:50:55 2010 +1000
1.3 @@ -117,6 +117,7 @@
1.4 { "sh4r+128", ((char *)&sh4r)+128 },
1.5 { "sh4_cpu_period", &sh4_cpu_period },
1.6 { "sh4_address_space", NULL },
1.7 + { "sh4_translate_breakpoint_hit", sh4_translate_breakpoint_hit },
1.8 { "sh4_user_address_space", NULL },
1.9 { "sh4_write_fpscr", sh4_write_fpscr },
1.10 { "sh4_write_sr", sh4_write_sr },
1.11 @@ -3118,7 +3119,7 @@
1.12 void *xlat_get_native_pc( void *code, uint32_t code_size )
1.13 {
1.14 void *result = NULL;
1.15 - asm(
1.16 + __asm__(
1.17 "mov %%ebp, %%eax\n\t"
1.18 "mov $0x8, %%ecx\n\t"
1.19 "mov %1, %%edx\n"
.