MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / get_long_debug

Function get_long_debug

src/debug.cpp:428–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426 return v;
427}
428uae_u32 get_long_debug (uaecptr addr)
429{
430 uae_u32 v = 0xffffffff;
431 if (debug_mmu_mode) {
432 flagtype olds = regs.s;
433 regs.s = (debug_mmu_mode & 4) != 0;
434 TRY(p) {
435 if (currprefs.mmu_model == 68030) {
436 v = mmu030_get_generic (addr, debug_mmu_mode, sz_long, MMU030_SSW_SIZE_L);
437 } else {
438 if (debug_mmu_mode & 1) {
439 v = mmu_get_ilong(addr, sz_long);
440 } else {
441 v = mmu_get_user_long (addr, regs.s != 0, false, sz_long, false);
442 }
443 }
444 } CATCH(p) {
445 } ENDTRY
446 regs.s = olds;
447 } else {
448 v = get_long (addr);
449 }
450 return v;
451}
452uae_u32 get_iword_debug (uaecptr addr)
453{
454 if (debug_mmu_mode) {

Callers 15

debug_get_disp_eaFunction · 0.70
calc_jsrFunction · 0.70
debugmem_relocFunction · 0.70
scan_library_listFunction · 0.70
debugger_scan_librariesFunction · 0.70
get_ilong_debugFunction · 0.70
dump_vectorsFunction · 0.70
print_task_infoFunction · 0.70
show_exec_tasksFunction · 0.70
get_baseFunction · 0.70
show_exec_listsFunction · 0.70

Calls 1

get_longFunction · 0.85

Tested by

no test coverage detected