pub fn openocd_gdb_gdb(
        &self,
        config: &Config,
        reset: bool,
        rustc_substitute_path: &str,
    ) -> Result<NamedTempFile> {
        let data = json!({
            "config": config,
            "reset": reset,
            "rustc-substitute-path": rustc_substitute_path,
        });
        helpers::clear_vars();
        named_temp_file(|file| self.0.render_to_write("openocd/gdb.gdb", &data, file))
    }
/// Renders OpenOCD `gdb` command GDB script.
Renders OpenOCD `gdb` command GDB script.
Renders OpenOCD ` gdb ` command GDB script .
pub fn openocd_gdb_gdb(
        &self,
        config: &Config,
        reset: bool,
        rustc_substitute_path: &str,
    ) -> Result<NamedTempFile> {
        let data = json!({
            "config": config,
            "reset": reset,
            "rustc-substitute-path": rustc_substitute_path,
        });
        helpers::clear_vars();
        named_temp_file(|file| self.0.render_to_write("openocd/gdb.gdb", &data, file))
    }
pub fn openocd_gdb_gdb ( & self , config : & Config , reset : bool , rustc_substitute_path : & str , ) -> Result < NamedTempFile > { let data = json ! ( { " " config " " reset " " rustc_substitute_path } ) ; helpers :: clear_vars ( ) ; named_temp_file ( | file | self . 0 . render_to_write ( " " , & data , file ) ) }
Renders OpenOCD `gdb` command GDB script.
Renders OpenOCD ` gdb ` command GDB script .
&self
config
&Config
reset
bool
rustc_substitute_path
&str
&self
config
&Config
reset
bool
rustc_substitute_path
&str