comment some unneeded dbg messages, update install html page

This commit is contained in:
Stefan Frederik 2022-10-21 12:54:02 +02:00
parent a451179d05
commit 4e05fe1bab
3 changed files with 11 additions and 8 deletions

View File

@ -43,7 +43,10 @@ p{padding: 15px 30px 10px;}
tk8.6 tk8.6-dev
flex bison
libxpm4 libxpm-dev
gawk or mawk
# tools that should be available on all systems by default:
gawk or mawk
# Suggested (not mandatory for using xschem) packages:
tcl-tclreadline
</pre>
<p>If configure ends with no errors we are ready to compile:

View File

@ -536,19 +536,19 @@ void hilight_child_pins(void)
for(k = 1; k<=mult; k++) {
dbg(1, "hilight_child_pins(): looking nth net:%d, k=%d, inst_number=%d, mult=%d\n",
(inst_number-1)*mult+k, k, inst_number, mult);
dbg(1, "hilight_child_pins(): looking net:%s\n", find_nth(net_node, ",",
((inst_number - 1) * mult + k - 1) % net_mult + 1));
/* dbg(1, "hilight_child_pins(): looking net:%s\n", find_nth(net_node, ",",
((inst_number - 1) * mult + k - 1) % net_mult + 1)); */
xctx->currsch--;
entry = bus_hilight_hash_lookup(find_nth(net_node, ",",
((inst_number - 1) * mult + k - 1) % net_mult + 1), 0, XLOOKUP);
xctx->currsch++;
if(entry) {
bus_hilight_hash_lookup(find_nth(pin_node, ",", k), entry->value, XINSERT_NOREPLACE);
dbg(1, "hilight_child_pins(): inserting: %s\n", find_nth(pin_node, ",", k));
/* dbg(1, "hilight_child_pins(): inserting: %s\n", find_nth(pin_node, ",", k)); */
}
else {
bus_hilight_hash_lookup(find_nth(pin_node, ",", k), 0, XDELETE);
dbg(1, "hilight_child_pins(): deleting: %s\n", find_nth(pin_node, ",", k));
/* dbg(1, "hilight_child_pins(): deleting: %s\n", find_nth(pin_node, ",", k)); */
}
} /* for(k..) */
}

View File

@ -2064,7 +2064,7 @@ int save_schematic(const char *schname) /* 20171020 added return value */
else return 0;
dbg(1, "save_schematic(): currsch=%d name=%s\n",xctx->currsch, schname);
dbg(1, "save_schematic(): sch[currsch]=%s\n", xctx->sch[xctx->currsch]);
dbg(1, "save_schematic(): abs_sym_path=%s\n", abs_sym_path(xctx->sch[xctx->currsch], ""));
/* dbg(1, "save_schematic(): abs_sym_path=%s\n", abs_sym_path(xctx->sch[xctx->currsch], "")); */
my_strncpy(name, xctx->sch[xctx->currsch], S(name));
set_modify(-1);
if(!stat(name, &buf)) {
@ -2268,7 +2268,7 @@ static void init_undo(void)
/* create undo directory */
if( !my_strdup(644, &xctx->undo_dirname, create_tmpdir("xschem_undo_") )) {
dbg(0, "xinit(): problems creating tmp undo dir, Undo will be disabled\n");
dbg(0, "xinit(): Check permissions in %s\n", tclgetvar("XSCHEM_TMP_DIR"));
dbg(0, "init_undo(): Check permissions in %s\n", tclgetvar("XSCHEM_TMP_DIR"));
xctx->no_undo = 1; /* disable undo */
}
xctx->undo_initialized = 1;
@ -2538,7 +2538,7 @@ static void get_sym_type(const char *symname, char **type,
if (pintable && c == PINLAYER) {
/* hash pins to get LCC schematic have same order as corresponding symbol */
int_hash_lookup(pintable, get_tok_value(rect.prop_ptr, "name", 0), n++, XINSERT);
dbg(1, "get_sym_type() : hashing %s\n", get_tok_value(rect.prop_ptr, "name", 0));
/* dbg(1, "get_sym_type() : hashing %s\n", get_tok_value(rect.prop_ptr, "name", 0));*/
++(*sym_n_pins);
}
break;