gdbinit problem
Sam Steingold
sds@gnu.org
Fri Oct 22 11:24:00 GMT 2004
the following:
define break_foo_bar
break foo
commands
print x
end
break bar
commands
print y
end
end
does not work because, apparently, the first "end" closes both
"commands" and "define" and there is no file loaded at this time, so I
get this error:
.gdbinit:97: Error in sourced command file:
No symbol table is loaded. Use the "file" command.
Is there a way around this problem?
Is there a push to modernize gdb's extension language?
(like using guile or at least a bash-like syntax)
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
Live Lisp and prosper.
More information about the Gdb
mailing list