help: how to debug script interrupting? - page 23 - General Discussion and Assistance - CHDK Forum supplierdeeply

help: how to debug script interrupting?

  • 224 Replies
  • 62586 Views
*

Offline reyalp

  • ******
  • 14118
Re: help: how to debug script interrupting?
« Reply #220 on: 07 / May / 2013, 17:20:20 »
Advertisements
However, disassembling a .flt isn't terribly hard so I'll make sure after the change is in.
Verified.

FWIW, if you ever need to quickly disassemble a .flt,
Code: [Select]
arm-elf-objdump.exe  -m arm -Mforce-thumb -b binary -D lua.flt > lua.dis
The -Mforce-thumb took me a while to find the first time I wanted to do this. Obviously you don't get any symbols etc so the .elf is preferred when available.
Don't forget what the H stands for.

Re: help: how to debug script interrupting?
« Reply #221 on: 08 / May / 2013, 09:33:03 »
Changeset [2762]: add -fno-schedule-insns2 to fix intermittent lua errors, gcc bug ...
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644
This makes really interesting reading for those following this thread.   The underlying bug was first reported way back in 2008 and then never really dealt with.  One can only speculate on how many ARM projects built using GCC were abandoned for random unreliability during interim period.


Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline lapser

  • *****
  • 1093
Re: help: how to debug script interrupting?
« Reply #222 on: 08 / May / 2013, 21:17:48 »
Wow, it sounds like you may have figured it out! I've been busy with family stuff (graduations, weddings etc) for awhile, but I'll try out the latest trunk with my time lapse patches as soon as I can. That was a tough one, but it makes it even sweeter when you solve it. Good job.
EOS-M3_120f / SX50_100b / SX260_101a / G1X_100g / D20_100b
https://www.youtube.com/user/DrLapser/videos

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: help: how to debug script interrupting?
« Reply #223 on: 08 / May / 2013, 21:29:35 »
Wow, it sounds like you may have figured it out! I've been busy with family stuff (graduations, weddings etc) for awhile, but I'll try out the latest trunk with my time lapse patches as soon as I can. That was a tough one, but it makes it even sweeter when you solve it. Good job.

And thanks to you too for doing all the testing, and running the debug builds from reyalp that finally led to it being tracked down :)

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


Re: help: how to debug script interrupting?
« Reply #224 on: 09 / May / 2013, 03:33:14 »
Thank you all for this job! That's so good that there are such people!
if (2*b || !2*b) {
    cout<<question
}

Compile error: poor Yorick

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal