Recursive call to stepi and "Max user call depth exceeded"

Thomas Baruchel baruchel@gmx.com
Fri Nov 4 17:04:00 GMT 2011


Hi,

I tried to use the following trick:

define s
info float
stepi
s
end

(based on an idea found there:
http://stackoverflow.com/questions/7940963/trace-application-compiled-by-gcc )

But I soon encountered the error:
   Max user call depth exceeded -- command aborted.

What I am trying to do is: print the fpu register after each machine instruction
(of course output is parsed by an external program), but using a recursive
function obviously is a bad idea. How can I run my program step by step
and print the fpu after each step? Regards,

-- 
Thomas Baruchel



More information about the Gdb mailing list