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


On Sat, May 06, 2006 at 04:03:18PM +1200, Nick Roberts wrote:
>  > ~"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?

It would do nothing differently. However, this is an asynchronous
command that appears to be synchronous. I think it's a bug in GDB. I
could be wrong.

Bob Rossi


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