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

Function loadcodefile

src/debugmem.cpp:1210–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1208}
1209
1210static struct debugcodefile *loadcodefile(const TCHAR *path, const TCHAR *name)
1211{
1212 struct debugcodefile *cf = preallocatecodefile(path, name);
1213 if (!loadcodefiledata(cf)) {
1214 freecodefile(cf);
1215 cf = NULL;
1216 } else {
1217 console_out_f(_T("Loaded source file '%s' '%s', %d bytes, %d lines\n"), cf->path, cf->name, cf->length, cf->lines);
1218 }
1219 return cf;
1220}
1221
1222static uae_u32 maptohunks(uae_u32 offset)
1223{

Callers 1

parse_stabsFunction · 0.85

Calls 4

preallocatecodefileFunction · 0.85
loadcodefiledataFunction · 0.85
freecodefileFunction · 0.85
console_out_fFunction · 0.50

Tested by

no test coverage detected