This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdbinit problem
- From: Sam Steingold <sds at gnu dot org>
- To: gdb at sources dot redhat dot com
- Date: Thu, 21 Oct 2004 09:58:36 -0400
- Subject: gdbinit problem
- Organization: disorganization
- Reply-to: sds at gnu dot org
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.