public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Separating "shell dir" output from GDB/MI output
@ 2005-10-09  5:19 jingzhao.ou
  2005-10-09 12:33 ` Bob Rossi
  0 siblings, 1 reply; 13+ messages in thread
From: jingzhao.ou @ 2005-10-09  5:19 UTC (permalink / raw)
  To: gdb

Dear all,

I am trying to see if it is possible to build a Tcl/Tk based GDB
frontend using Bob Rossi's MI parser. For normal commands, it works
just fine. However, if I execute "shell dir" command in gdb, the
parser will report error. (see the end of the email)

I am wondering if there is any way to separate the shell output from
the normal GDB output. So that this problem can be solved properly.

Sincerely hope that any one can give me a hand. I am using MinGW.

Best regards,
Jingzhao

===========================================
(gdb)
&"shell dir\n"
Makefile             gdbmi_grammar.tab.o  gdbmi_pt.c         main.tcl
Makefile_orig        gdbmi_grammar.txt    gdbmi_pt.h         tkGDB.c
b                    gdbmi_grammar.y      gdbmi_pt.o         tkGDB.dll
bb                   gdbmi_lexer.l        lex.yy.c           tkGDB.exe
gdbmi_driver.c       gdbmi_parser.c       lex.yy.o           tkGDB_bak.c
gdbmi_grammar.tab.c  gdbmi_parser.h       libgdbmi_parser.a  tkGDB_stub.c
gdbmi_grammar.tab.h  gdbmi_parser.o       main.exe           tk_gdb.tcl
^done
(gdb)
===========================================

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2005-10-15 12:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-09  5:19 Separating "shell dir" output from GDB/MI output jingzhao.ou
2005-10-09 12:33 ` Bob Rossi
2005-10-09 17:04   ` jingzhao.ou
2005-10-09 17:12     ` Daniel Jacobowitz
2005-10-09 17:33       ` Bob Rossi
2005-10-09 20:02         ` Daniel Jacobowitz
2005-10-09 20:19           ` Bob Rossi
2005-10-09 20:26             ` Daniel Jacobowitz
     [not found]       ` <b5706cf10510091145v5bfa03ben44f62981f174c4a2@mail.gmail.com>
2005-10-09 18:47         ` jingzhao.ou
2005-10-09 20:04           ` Daniel Jacobowitz
2005-10-10  8:41             ` Re[2]: " Konstantin Karganov
2005-10-15 12:29       ` Eli Zaretskii
2005-10-15 12:27   ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).