Przeglądaj źródła

Added symbols that the DBG() macros will use.

tags/v0.9.3
Michael Brown 17 lat temu
rodzic
commit
62d92348fe
1 zmienionych plików z 12 dodań i 0 usunięć
  1. 12
    0
      src/util/symcheck.pl

+ 12
- 0
src/util/symcheck.pl Wyświetl plik

@@ -70,6 +70,18 @@ foreach my $link_sym qw ( __prefix _prefix _prefix_load_offset
70 70
   };
71 71
 }
72 72
 
73
+# Add symbols that we know will be used by the debug system
74
+#
75
+foreach my $debug_sym qw ( dbg_autocolourise dbg_decolourise
76
+			   dbg_hex_dump_da ) {
77
+  $symtab->{DEBUG}->{$debug_sym} = {
78
+    global	=> 1,
79
+    section	=> undef,
80
+    value	=> 0,
81
+    size	=> 0,
82
+  };
83
+}
84
+
73 85
 # Build up requires, provides and shares symbol tables for global
74 86
 # symbols
75 87
 #

Ładowanie…
Anuluj
Zapisz