| For completeness, this is fixed in 4.0-35 and newer versions of ladebug
ladbx/work/bugs/BUGLIST> ladebug a.out
Welcome to the Ladebug Debugger Version 4.0-35
------------------
object file name: a.out
Reading symbolic information ...done
(ladebug) stop in bar
[#1: stop in int bar(int) ]
(ladebug) run
[1] stopped at [bar:10 0x120001224]
10 i = i + 1;
(ladebug) t
>0 0x120001224 in bar(i=4) l167.c:10
#1 0x12000124c in foo(j=4) l167.c:15
#2 0x1200011f8 in main() l167.c:4
(ladebug) up
>1 0x12000124c in foo(j=4) l167.c:15
15 j = bar(j);
(ladebug) print j
4
(ladebug) call foobar(j)
(ladebug)
[all up-level references now work the same way as dbx]
|