[mdb-discuss] mdb wraps lines at 80 characters when input is redirected

2008-12-08 Thread Jürgen Keil
echo ::findleaks -v -d | mdb -p $pid | c++filt However, it does not work: it seems that when mdb input is redirected, it wraps lines at 80 characters and C++ names are not demangled correctly. Does setting the output width with the $w command work? echo '300$w ; ::findleaks -v -d' |

[mdb-discuss] mdb wraps lines at 80 characters when input is

2008-12-08 Thread Valdemar Moreira Pavesi
Hello, you can use : { echo \$G ; echo ::findleaks -dv ; } | mdb -p $pid -o nostop $G = C++ symbol demangling enabled best regards! Valdemar -- This message posted from opensolaris.org

[mdb-discuss] mdb wraps lines at 80 characters when input is

2008-12-08 Thread Jonathan Adams
On Mon, Dec 08, 2008 at 07:44:49AM -0800, Valdemar Moreira Pavesi wrote: Hello, you can use : { echo \$G ; echo ::findleaks -dv ; } | mdb -p $pid -o nostop ^ Please don't do this. '-o nostop' will lead to a very