gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gdb] gdbinit problems


From: Sam Steingold
Subject: [Gdb] gdbinit problems
Date: Tue, 19 Oct 2004 15:22:56 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]