This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: asynchronous MI output commands


 > ~"GNU gdb 6.1-debian\n"
 > ~"Copyright 2004 Free Software Foundation, Inc.\n"
 > ~"GDB is free software, covered by the GNU General Public License, and you are\n"
 > ~"welcome to change it and/or distribute copies of it under certain conditions.\n"
 > ~"Type \"show copying\" to see the conditions.\n"
 > ~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
 > ~"This GDB was configured as \"i386-linux\"..."
 > ~"Using host libthread_db library \"/lib/libthread_db.so.1\".\n"
 > ~"\n"
 > (gdb)
 > 
 > Is this considered synchronous or asynchronous? I consider it
 > asynchronous, and I don't have any way to tell that except check to see
 > if the parse tree has nothing but stream messages. What do you think?

Can't you just consider it as output?  What would your parser do differently
if it was classed as one or other?

I think making the output asynchronous just determines how the front end can
interact with GDB, not its content.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]