Sory there is no bug, but I have to convert a linux program (not written by myself) to a microcontroller. The program mostly uses dynamic memory allocation and I have to know the size of used code and data if it runs in linux. So I try to get this information out of gdb. But how can I do this? I am using DDD as frontend and am neither keen in using gdb from command line nor from DDD with the suspected result ... Is looking in /proc/_pid_/ an alternative way? How/where will I have to read there for getting out the mem usage? thanks --jens
