This is the mail archive of the gdb-prs@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]

[Bug server/21454] New: `target extended-remote | gdbserver --multi stdio` uses 100% CPU after gdb quits


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

            Bug ID: 21454
           Summary: `target extended-remote | gdbserver --multi stdio`
                    uses 100% CPU after gdb quits
           Product: gdb
           Version: 7.12
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: server
          Assignee: unassigned at sourceware dot org
          Reporter: b.r.longbons at gmail dot com
  Target Milestone: ---

GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
@(gdb) target extended-remote | gdbserver --multi stdio
Remote debugging using | gdbserver --multi stdio
Remote debugging using stdio
@(gdb) set remote exec-file /bin/true
@(gdb) file /bin/true
Reading symbols from /bin/true...(no debugging symbols found)...done.
@(gdb) run
Starting program: /bin/true 
Process /bin/true created; pid = 737
stdin/stdout redirected
Reading /lib64/ld-linux-x86-64.so.2 from remote target...
warning: File transfers from remote targets can be slow. Use "set sysroot" to
access files locally instead.
Reading /lib64/ld-linux-x86-64.so.2 from remote target...
Reading /lib/x86_64-linux-gnu/libc.so.6 from remote target...
[Inferior 1 (process 737) exited normally]
@(gdb) quit

This does *not* happen with TCP targets.

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

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