public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "nikolay.koldunov at oracle dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug server/17760] New: gdbserver (MinGW) reports incorrect pid for a process being debugged Date: Fri, 26 Dec 2014 14:50:00 -0000 [thread overview] Message-ID: <bug-17760-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=17760 Bug ID: 17760 Summary: gdbserver (MinGW) reports incorrect pid for a process being debugged Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: server Assignee: unassigned at sourceware dot org Reporter: nikolay.koldunov at oracle dot com $ gdbserver :1234 C:/Users/tester/Documents/NetBeansProjects/Arguments_1/dist/Debug/MinGW-Windows/arguments_1.exe Process C:/Users/tester/Documents/NetBeansProjects/Arguments_1/dist/Debug/MinGW-Windows/arguments_1.exe created; pid = 864 Listening on port 1234 Remote debugging from host 127.0.0.1 pid = 864 $ gdb --interpreter mi =thread-group-added,id="i1" ~"GNU gdb (GDB) 7.6.1\n" ~"Copyright (C) 2013 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 \"mingw32\".\nFor bug reporting instructions, please see:\n" ~"<http://www.gnu.org/software/gdb/bugs/>.\n" (gdb) target remote :1234 &"target remote :1234\n" ~"Remote debugging using :1234\n" =thread-group-started,id="i1",pid="42000" =thread-created,id="1",group-id="i1" ~"0x77a60fac in ?? ()\n" *stopped,frame={addr="0x77a60fac",func="??",args=[]},thread-id="1",stopped-threads="all" ^done (gdb) pid = 42000 -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2014-12-26 14:50 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-12-26 14:50 nikolay.koldunov at oracle dot com [this message] 2015-03-12 13:00 ` [Bug server/17760] " palves at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-17760-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).