Package: gdb
Severity: normal
Version: 6.3-6

I'm a clueless GDB user.  I wanted to write a GDB script, and the only
thing I haven't been able to figure out is how to get the frame number
(I want to know how many frames are in the backtrace).

I stumbled on this page:

  http://www.rons.net.cn/htp/gdb/gdb_25.html

about "24. The GDB/MI Interface", which is surely not what I want, or
at least, not the right way of getting what I want.

Anyway, I was fooling around with it anyway, to try to figure things
out, and I made gdb segfault:

$ gdb
...
(gdb) - bogus
...

Gdb apparently tries to run its TUI, but crashes instead.

Segmentation fault

Besides fixing the bug, could anyone tell me how to get what I want?
(The count of stack frames), and maybe even explain how to use this
magical MI interface?

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to