RTEMS_GDB clarification
Dhananjay Balan
mb.dhananjay at gmail.com
Fri Jun 28 18:01:39 UTC 2013
Hi,
Need help with a code snippet. I cannot understand the need for
"nesting" in the following.
> rtems.py line 33-47
> def lookup_function (val):
> "Look-up and return a pretty-printer that can print val."
>
> global nesting
>
> typename = str(type_from_value(val))
>
> for function in pp_dict:
> if function.search (typename):
> nesting += 1
> result = pp_dict[function] (val)
> nesting -= 1
> if nesting == 0:
> objects.information.invalidate()
> return result
>
Thanks,
Dhananjay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130628/57ab8e03/attachment.html>
More information about the devel
mailing list