contrib/gdb-7/gdb/jit.c
static void
jit_reader_load_command (char *args, int from_tty)
{
  char *so_name;
  int len;
  struct cleanup *prev_cleanup;

  if (args == NULL)
    error (_("No reader name provided."));

  if (loaded_jit_reader != NULL)
    error (_("JIT reader already loaded.  Run jit-reader-unload first."));

  so_name = xstrprintf ("%s/%s", jit_reader_dir, args);
  prev_cleanup = make_cleanup (xfree, so_name);

  loaded_jit_reader = jit_reader_load (so_name);
  do_cleanups (prev_cleanup);
}
/* Provides the jit-reader-load command.  */
Provides the jit-reader-load command.
Provides the jit - reader - load command .
static void
jit_reader_load_command (char *args, int from_tty)
{
  char *so_name;
  int len;
  struct cleanup *prev_cleanup;
  if (args == NULL)
    error (_("No reader name provided."));
  if (loaded_jit_reader != NULL)
    error (_("JIT reader already loaded.  Run jit-reader-unload first."));
  so_name = xstrprintf ("%s/%s", jit_reader_dir, args);
  prev_cleanup = make_cleanup (xfree, so_name);
  loaded_jit_reader = jit_reader_load (so_name);
  do_cleanups (prev_cleanup);
}
static void jit_reader_load_command ( char * args , int from_tty ) { char * so_name ; int len ; struct cleanup * prev_cleanup ; if ( args == NULL ) error ( _ ( " " ) ) ; if ( loaded_jit_reader != NULL ) error ( _ ( " " ) ) ; so_name = xstrprintf ( " " , jit_reader_dir , args ) ; prev_cleanup = make_cleanup ( xfree , so_name ) ; loaded_jit_reader = jit_reader_load ( so_name ) ; do_cleanups ( prev_cleanup ) ; }
Provides the jit-reader-load command.
Provides the jit - reader - load command .