[Bug gdb/22849] New: ctrl-c doesn't work in extended-remote

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/22849] New: ctrl-c doesn't work in extended-remote

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22849

            Bug ID: 22849
           Summary: ctrl-c doesn't work in extended-remote
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: qiyao at gcc dot gnu.org
  Target Milestone: ---

Start GDBserver in one console,

$ ./gdbserver/gdbserver --multi :1234 ./1.exe

and start GDB in another,

$ ./gdb ./1.exe
....
(gdb) target extended-remote :1234
Remote debugging using :1234
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 symbols from target:/lib64/ld-linux-x86-64.so.2...Reading
/lib64/ld-2.19.so from remote target...
Reading /lib64/.debug/ld-2.19.so from remote target...
(no debugging symbols found)...done.
Python Exception <type 'exceptions.NameError'> Installation error:
gdb.execute_unwinders function is missing:
0x00007ffff7ddb2d0 in ?? () from target:/lib64/ld-linux-x86-64.so.2
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /scratch/yao/gdb/build-git/x86_64/gdb/1.exe
Reading /lib64/ld-linux-x86-64.so.2 from remote target...
Reading /lib64/ld-linux-x86-64.so.2 from remote target...
Reading /lib64/ld-2.19.so from remote target...
Reading /lib64/.debug/ld-2.19.so from remote target...
^C^CInterrupted while waiting for the program.
Give up waiting? (y or n) n

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/22849] ctrl-c doesn't work in extended-remote

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22849

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |qiyao at gcc dot gnu.org
   Target Milestone|---                         |8.1.1

--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> ---
GDB 8.1 is affected too.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/22849] ctrl-c doesn't work in extended-remote

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22849

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Yao Qi <[hidden email]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85046ae23f853bfd01db6b4a840e80220487bffd

commit 85046ae23f853bfd01db6b4a840e80220487bffd
Author: Yao Qi <[hidden email]>
Date:   Thu Feb 15 14:48:30 2018 +0000

    Reset inferior::control on inferior exit

    When we kill an inferior, the inferior is not deleted.  What is more, it
    is reused when the new process is created, so we need to reset inferior's
    state when it exits.

    gdb:

    2018-02-15  Yao Qi  <[hidden email]>

        PR gdb/22849
        * inferior.c (exit_inferior_1): Reset inf->control.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/22849] ctrl-c doesn't work in extended-remote

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22849

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-8.1-branch branch has been updated by Yao Qi <[hidden email]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2ba75fb16a5c78007010cfbde1c1b5be4bb9a8c8

commit 2ba75fb16a5c78007010cfbde1c1b5be4bb9a8c8
Author: Yao Qi <[hidden email]>
Date:   Thu Feb 15 14:48:30 2018 +0000

    Reset inferior::control on inferior exit

    When we kill an inferior, the inferior is not deleted.  What is more, it
    is reused when the new process is created, so we need to reset inferior's
    state when it exits.

    gdb:

    2018-02-15  Yao Qi  <[hidden email]>

        PR gdb/22849
        * inferior.c (exit_inferior_1): Reset inf->control.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/22849] ctrl-c doesn't work in extended-remote

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22849

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Yao Qi <qiyao at gcc dot gnu.org> ---
Patch is committed to master and 8.1 branch.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/22849] ctrl-c doesn't work in extended-remote

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22849

Jeremi <jeremip11 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jeremip11 at gmail dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/22849] ctrl-c doesn't work in extended-remote

Sourceware - gdb-prs mailing list
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=22849

jack <meave390 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |meave390 at gmail dot com

--- Comment #5 from jack <meave390 at gmail dot com> ---
Thanks for this amazing blog to me here connecting this batter way for require
http://vbuck-generator.over-blog.com/fortnite-free-vbucks-generator.html join
this game zone it is to be best way for full fun here

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