contrib/gdb-7/gdb/jit.c
static void
jit_inferior_exit_hook (struct inferior *inf)
{
  struct objfile *objf;
  struct objfile *temp;

  ALL_OBJFILES_SAFE (objf, temp)
    if (objfile_data (objf, jit_objfile_data) != NULL)
      jit_unregister_code (objf);
}
/* This function cleans up any code entries left over when the
   inferior exits.  We get left over code when the inferior exits
   without unregistering its code, for example when it crashes.  */
This function cleans up any code entries left over when the
inferior exits.  We get left over code when the inferior exits
without unregistering its code, for example when it crashes.
This function cleans up any code entries left over when the inferior exits . We get left over code when the inferior exits without unregistering its code for example when it crashes .
static void
jit_inferior_exit_hook (struct inferior *inf)
{
  struct objfile *objf;
  struct objfile *temp;
  ALL_OBJFILES_SAFE (objf, temp)
    if (objfile_data (objf, jit_objfile_data) != NULL)
      jit_unregister_code (objf);
}
static void jit_inferior_exit_hook ( struct inferior * inf ) { struct objfile * objf ; struct objfile * temp ; ALL_OBJFILES_SAFE ( objf , temp ) if ( objfile_data ( objf , jit_objfile_data ) != NULL ) jit_unregister_code ( objf ) ; }
This function cleans up any code entries left over when the
inferior exits.
This function cleans up any code entries left over when the inferior exits .