[Ltrace-devel] [ltrace 13/21] handle_event: handle functions with no return

Arnaud Patard apatard at mandriva.com
Fri Jan 8 13:40:12 UTC 2010


On mips, there are functions like atexit which are only a jump to an
other function.
eg:

atexit
  goto _cxa_atexit

In this case, avoid incrementing stack depth as it's not going to be
decremented. This is breaks ltrace when there are too many functions of
this type.

Signed-off-by: Arnaud Patard <apatard at mandriva.com>
---
 handle_event.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: e3cc7c7123e4209f460055ab60c571a50136d1dc.diff
Type: text/x-patch
Size: 1188 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20100108/4bbbf0fe/attachment-0001.bin>


More information about the Ltrace-devel mailing list