It's been a little while,  but I believe I extracted gstack from the rpm
without installing it. You'll need rpm2cpio and cpio for this.

$ rpm2cpio gdb-6.3.0.0-1.132.EL4.x86_64.rpm | cpio -idmv
./usr/bin/gcore
./usr/bin/gdb
./usr/bin/gdbserver
./usr/bin/gdbtui
./usr/bin/gstack
./usr/share/doc/gdb-6.3.0.0
./usr/share/doc/gdb-6.3.0.0/COPYING
./usr/share/doc/gdb-6.3.0.0/COPYING.LIB
./usr/share/doc/gdb-6.3.0.0/NEWS
./usr/share/doc/gdb-6.3.0.0/README
./usr/share/info/annotate.info.gz
./usr/share/info/gdb.info.gz
./usr/share/info/gdbint.info.gz
./usr/share/info/stabs.info.gz
./usr/share/man/man1/gdb.1.gz
./usr/share/man/man1/gdbserver.1.gz
./usr/share/man/man1/gdbtui.1.gz
12185 blocks
$ ls usr/bin/gstack 
usr/bin/gstack

Now you can put gstack wherever you like.

-- 
no pstack for amd64
https://bugs.launchpad.net/bugs/532000
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to