bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gdb] feature request; list-processing functions


From: Benoit Hudson
Subject: [gdb] feature request; list-processing functions
Date: Mon, 18 Dec 2000 18:47:10 -0500

It'd be nice to have something like 
    follow list member n
to do list->member->member-> ... -> member

Also, a lisp-like map operation
   map function list member n
where function is a gdb function that takes one argument (like print,
inspect, output, display, and perhaps other things that make sense).
     mapn 'print /x' list member 2
Does 
     print /x list
     print /x list->member


Is there a good way to do that now (other than write an unused function in
the source, though that doesn't help with a core dump) ?

        -- BenoƮt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]