Hi Ezra,

On Tue, Aug 29, 2006 at 08:39:16PM +0200, Easy B wrote:
> Thanx a lot. I totally forgot about the stack. Exactly this problem  
> is even documented in the sdcc docs. From now on I always will  
> consult the docs first. I see that now the PIC port is documented a  
> lot better than before. Anyway, printf works fine now..

Great, glad to hear it!

> I also tried your script, but it kinda didn't work. I get following  
> error:
> 
> easyb$ python sdcc-stackusage.py ../i2cIF/i2cIF.asm
> Traceback (most recent call last):
>    File "sdcc-stackusage.py", line 300, in ?
>      parser.parse(f)
>    File "sdcc-stackusage.py", line 86, in parse
>      self._parse_func(f, m.group(1))
>    File "sdcc-stackusage.py", line 99, in _parse_func
>      if not line: raise EOFError("End of file in function " + name)
> EOFError: End of file in function __str_0
> 
> What am I doing wrong?

Probably nothing - so far it probably only works well enough to cope
with a couple of my projects.  It thinks it got to the end of file
before finding the end of the function __str_0 (if it is a function).

Is it possible for you to send your .asm so I can improve the script?

Cheers,

Chris

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to