gdbinit problems
Sam Steingold <[email protected]>
| Newsgroups | gmane.comp.gdb.general |
|---|---|
| Organization | disorganization |
| Message-ID | <[email protected]> |
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?
--
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>
will write code that writes code that writes code for food