#linuxcnc-devel | Logs for 2015-06-26

Back
[03:15:48] <seb_kuzminsky> linuxcnc-build: force build --branch=2.6 0000.checkin
[03:15:49] <linuxcnc-build> build forced [ETA 1h17m25s]
[03:15:49] <linuxcnc-build> I'll give a shout when the build finishes
[04:06:36] <linuxcnc-build> Hey! build 0000.checkin #3227 is complete: Success [3build successful]
[04:06:37] <linuxcnc-build> Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/3227
[06:12:22] <KGB-linuxcnc> 03John Thornton 052.7 9574ffa 06linuxcnc 10docs/src/index.tmpl Docs: correct typo * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=9574ffa
[08:00:09] <KGB-linuxcnc> 03John Thornton 052.7 9779583 06linuxcnc 10docs/src/config/ini_config.txt 10docs/src/config/ini_homing.txt 10docs/src/config/stepper.txt Docs: make anchors and index entries have consistent locations * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=9779583
[09:26:55] <arrowbie> hi,all
[10:47:22] <kwallace> I'm trying to troubleshoot remapping. In interp_o_word.cc is a line " logOword("execute_call %s type=%s state=%s cl=%d rl=%d",
[10:47:22] <kwallace> ". Does anyone know where the Oword log is?
[11:00:49] <cradek> did you look at logOword?
[11:01:17] <cradek> (I didn't, but that's what I would do first)
[11:23:30] <kwallace> cradek, It seems logOword is part of doLog which gets file passed to it, so the file is whatever the calling doLog passes, then... I get lost. There has got to be a better way to reverse engineer C programs?
[11:28:23] <cradek> I did a git grep doLog, to find there's only one place doLog is called
[11:28:55] <cradek> the logfile's name is not passed to doLog, that's used to get the caller site's filename
[11:29:23] <cradek> log_file is just a variable and it looks like it's set from the inifile
[11:29:33] <cradek> if(NULL != (inistring = inifile.Find("LOG_FILE", "RS274NGC"))) ...
[11:30:00] <cradek> do you know about `make tags' and editors that support tags?
[11:30:06] <jepler> kwallace: the only defense is, once you figure it out, ensure a doc patch gets in so that you could have found it there instead of reading tea leaves
[11:30:22] <cradek> yeah no kidding :-/
[11:30:34] <cradek> bbl, need to find breakfast
[11:30:37] <jepler> I see there's also some kind of debug mask for the interpreter
[11:31:06] <cradek> looks like the log defaults to stderr
[11:31:26] <kwallace> cradek, thank you.
[14:04:37] <kwallace> Uugh. A day and a half of pain to find I need...
[14:04:41] <kwallace> .ini file
[14:04:41] <kwallace> -----------------
[14:04:41] <kwallace> ...
[14:04:41] <kwallace> [RS274NGC]
[14:04:41] <kwallace> ...
[14:04:41] <kwallace> LOG_FILE = my_rs274ngc_logfile
[14:04:41] <kwallace> ...
[14:04:42] <kwallace> [PYTHON]
[14:04:43] <kwallace> TOPLEVEL= python/toplevel.py
[14:04:43] <kwallace> ...
[14:04:44] <kwallace> LOG_LEVEL=10
[14:05:19] <kwallace> Now I can move on.
[15:29:35] <skunkworks_> zlog
[19:19:52] <arrowbook> hi,where's the code about changing the coordinates offset to pulse?
[19:34:15] <jepler> src/hal/components/stepgen.c is the software step generator.
[19:35:31] <arrowbook> oh,thank you