Displaying 5 results from an estimated 5 matches for "debugout".
2007 Sep 14
2
AGI script fails on IAX channels (from call file).
...d: "Test" <*66>
application: AGI
data: test.agi|670507
================= End Call File ========================
Perl AGI Scrip
============ test.agi =================================
#!/usr/bin/perl
use strict;
use Time::Local;
$|=1;
# Setup some variables
my %AGI; my $DEBUG=1;
my $DEBUGOUT = "filehandle";
my $debugfile="/tmp/agi_debug.log";
############ check_result ##########
# Use this to check the result of #
# a sent command #
# I pretty much stole this from #
# the regular agi-test.agi #
####################################
sub checkres...
2011 Oct 13
0
[LLVMdev] llvm-objdump related patch
...nd = si == se-1 ? SectSize : Symbols[si + 1].first - 1;
+ uint64_t End = si == se-1 ? SectionVMA + SectSize : Symbols[si
+ 1].first - 1;
This goes over 80 col.
outs() << '\n' << Symbols[si].second << ":\n";
#ifndef NDEBUG
raw_ostream &DebugOut = DebugFlag ? dbgs() : nulls();
#else
@@ -244,22 +247,22 @@ static void DisassembleObject(const ObjectFile *Obj) {
#endif
for (Index = Start; Index < End; Index += Size) {
MCInst Inst;
- if (DisAsm->getInstruction(Inst, Size, memoryObject, Index,
+ outs() <...
2011 Oct 12
2
[LLVMdev] llvm-objdump related patch
Michael,
I have rework the patch according to your suggestion. And I have
read binutil/objdump source code and found that it has a logic that if
there's no symtab, it will use dynsym, which is missing in llvm-objdump.
Songmao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-the-address-calculation-for-llvm-objdump.patch
Type: text/x-patch
2013 Feb 27
1
some help in using the package NUT in a perl script
....=" `who` . n";_
_print
"-- test : $message n";_
_my $ups = new UPS::Nut(_
_ NAME => "UPS",_
_
HOST => "localhost",_
_ PORT => 3493,_
_ USERNAME => "upsmon",_
_
PASSWORD => "pass",_
_ TIMEOUT => 30,_
_ DEBUG => 1,_
_ DEBUGOUT =>
"/etc/nut/dev/log/nut.log"_
_);_
_if ($ups->Status() =~ /OL/) _
_ {_
_
print "UPS : Alimentation OK !n";_
_ }_
_if ($ups->Status() =~ /OB/) _
_
{_
_ print "UPS : PB alimentation, Fonctionne sur batterie !n";_
_
}_
_print " UPS ETAT : $ups->Status()...
2008 Nov 25
1
Problem running R from within a script
...te that R never gets as far as running the
script, however - the error occurs in the CMD shell script that is under
/usr/bin/R/CMD.
[josh at localhost cr]$ cat batchMakeTax.R
library(foreign)
scratchOne <- commandArgs()
inFileArg <- scratchOne[10]
taxFileArg <- scratchOne[11]
sink("debugout.txt", FALSE, "output", FALSE)
print (inFileArg)
print (taxFileArg)
bankData <- read.xport(inFileArg)
sink(NULL)
sink(taxFileArg, FALSE, "output", FALSE)
bdNames <- names(bankData)
numCol <- ncol(bankData)
i=1
while (i <= numCol) {
myVar <- paste(bd...