public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/15995] New: print and shell command output out of order
@ 2013-10-02 19:03 ahmedalmehdi at gmail dot com
  2013-10-07 17:49 ` [Bug gdb/15995] " tromey at redhat dot com
  2013-10-17 18:34 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: ahmedalmehdi at gmail dot com @ 2013-10-02 19:03 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=15995

            Bug ID: 15995
           Summary: print and shell command output out of order
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: ahmedalmehdi at gmail dot com

I have the following gdb script:

define test1
printf "Foo "
!date
printf "\n"
end

I expected the output to be:
Foo Tue Oct 1 15:01:58 PDT 2013

However, I get the following:
Tue Oct 1 15:01:58 PDT 2013 Foo

I feel I need to somehow "flush" the "print".  I am not sure if this is a bug
or lack of understanding on my part.  Is there a command I can issue after the
"print" to flush stdout.

Thank you,
Ahmed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug gdb/15995] print and shell command output out of order
  2013-10-02 19:03 [Bug gdb/15995] New: print and shell command output out of order ahmedalmehdi at gmail dot com
@ 2013-10-07 17:49 ` tromey at redhat dot com
  2013-10-17 18:34 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2013-10-07 17:49 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=15995

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
           Assignee|unassigned at sourceware dot org   |tromey at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

* [Bug gdb/15995] print and shell command output out of order
  2013-10-02 19:03 [Bug gdb/15995] New: print and shell command output out of order ahmedalmehdi at gmail dot com
  2013-10-07 17:49 ` [Bug gdb/15995] " tromey at redhat dot com
@ 2013-10-17 18:34 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2013-10-17 18:34 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15995

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |7.7

--- Comment #1 from Tom Tromey <tromey at redhat dot com> ---
Fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2013-10-17 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-02 19:03 [Bug gdb/15995] New: print and shell command output out of order ahmedalmehdi at gmail dot com
2013-10-07 17:49 ` [Bug gdb/15995] " tromey at redhat dot com
2013-10-17 18:34 ` tromey at redhat dot com

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).