Steve Youngs <youngs(a)xemacs.org> writes:
Hi!
I don't think this would work properly would it? It didn't
look like
it. I think you'd be better off doing it the old fashioned way
(executing the 'where' inside of gdb).
It should work. It gives you the big advantage to send the output
(backtrace) right into a file which can be attached to a bug report.
IMHO, Cut and paste is a real PITA.
Another possibility is to create file containing the commands
like
% cat > foo
bt
quit
~D
and use one of the gdb options
-command=file
-x file
Execute GDB commands from file file.
to execute them.
norbert.
--
I hope something GOOD came in the mail today so I have
a REASON to live!!