public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/25654] New: mi command "-exec-run" responding with an "async-output" record right after the "result-record"
@ 2020-03-11 13:19 yedidya.ep at gmail dot com
  2020-03-11 14:23 ` [Bug mi/25654] " yedidya.ep at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: yedidya.ep at gmail dot com @ 2020-03-11 13:19 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 25654
           Summary: mi command "-exec-run" responding with an
                    "async-output" record right after the "result-record"
           Product: gdb
           Version: 8.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: yedidya.ep at gmail dot com
  Target Milestone: ---

Setup:
Build for windows as part of "MinGW_Gnu_8.3.0" distribution.
running command: gdb.exe --interpreter=mi3

commands and output:
    =thread-group-added,id="i1"
    ~"GNU gdb (GDB) 7.4\n"
    ~"Copyright (C) 2012 Free Software Foundation, Inc.\n"
    ~"License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to
change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by
law.  Type \"show copying\"\nand \"show warranty\" for details.\n"
    ~"This GDB was configured as \"i686-pc-mingw32\".\nFor bug reporting
instructions, please see:\n"
    ~"<http://www.gnu.org/software/gdb/bugs/>.\n"
    (gdb)
--> -file-exec-and-symbols tests\\helloWorld.exe
    ^done
    (gdb)
--> -exec-run
    =thread-group-started,id="i1",pid="15216"
    =thread-created,id="1",group-id="i1"
    ~"[New Thread 15216.0x466c]\n"
    ^running
    *running,thread-id="all"
    (gdb)
    =thread-created,id="2",group-id="i1"
    ~"[New Thread 15216.0x4de0]\n"
    *running,thread-id="all"
   
=library-loaded,id="C:\\WINDOWS\\SysWOW64\\kernel32.dll",target-name="C:\\WINDOWS\\SysWOW64\\kernel32.dll",host-name="C:\\WINDOWS\\SysWOW64\\kernel32.dll",symbols-loaded="0",thread-group="i1"
   
=library-loaded,id="C:\\WINDOWS\\SysWOW64\\KernelBase.dll",target-name="C:\\WINDOWS\\SysWOW64\\KernelBase.dll",host-name="C:\\WINDOWS\\SysWOW64\\KernelBase.dll",symbols-loaded="0",thread-group="i1"
   
=library-loaded,id="C:\\WINDOWS\\SysWOW64\\msvcrt.dll",target-name="C:\\WINDOWS\\SysWOW64\\msvcrt.dll",host-name="C:\\WINDOWS\\SysWOW64\\msvcrt.dll",symbols-loaded="0",thread-group="i1"
    Hello, World! result is:8=thread-exited,id="2",group-id="i1"
    =thread-exited,id="1",group-id="i1"
    =thread-group-exited,id="i1",exit-code="0"
    *stopped,reason="exited-normally"
    (gdb)

According to the documentation in
"https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Output-Syntax.html#GDB_002fMI-Output-Syntax":
GDB/MI Output should be: output → ( out-of-band-record )* [ result-record ]
"(gdb)" nl
however, in the above response for the "-exec-run" contain async-output
(*running,thread-id="all") right after the result record (^running)

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

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

* [Bug mi/25654] mi command "-exec-run" responding with an "async-output" record right after the "result-record"
  2020-03-11 13:19 [Bug mi/25654] New: mi command "-exec-run" responding with an "async-output" record right after the "result-record" yedidya.ep at gmail dot com
@ 2020-03-11 14:23 ` yedidya.ep at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: yedidya.ep at gmail dot com @ 2020-03-11 14:23 UTC (permalink / raw)
  To: gdb-prs

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

Yedidya <yedidya.ep at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|8.3                         |7.4

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

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

end of thread, other threads:[~2020-03-11 14:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 13:19 [Bug mi/25654] New: mi command "-exec-run" responding with an "async-output" record right after the "result-record" yedidya.ep at gmail dot com
2020-03-11 14:23 ` [Bug mi/25654] " yedidya.ep at gmail 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).