31.2 Registering Code

To register code with ROCgdb, the JIT should follow this protocol:

When ROCgdb is attached and the breakpoint fires, ROCgdb uses the relevant_entry pointer so it doesn’t have to walk the list looking for new code. However, the linked list must still be maintained in order to allow ROCgdb to attach to a running process and still find the symbol files.