public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Recursive call to stepi and "Max user call depth exceeded"
@ 2011-11-04 17:04 Thomas Baruchel
  2011-11-04 17:23 ` Pedro Alves
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Baruchel @ 2011-11-04 17:04 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-04 18:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 17:04 Recursive call to stepi and "Max user call depth exceeded" Thomas Baruchel
2011-11-04 17:23 ` Pedro Alves
2011-11-04 17:47   ` Run until some FPU register has changed Thomas Baruchel
2011-11-04 17:55     ` Jonas Maebe
2011-11-04 18:37       ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).