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 remote/12853] Unable to quit GDB if remote TCP connection is lost


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

Jan Smets <jan.smets@alcatel-lucent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |jan.smets@alcatel-lucent.co
                   |                            |m
         Resolution|WORKSFORME                  |---

--- Comment #3 from Jan Smets <jan.smets@alcatel-lucent.com> ---
Can someone please re-investigate? I'm having the same issue with 7.5

1) connect to a remote target
2) attach to a process
3) disconnect/reset the remote target
4) watch the timeout
5) try detaching or quit gdb

(gdb) attach 165209617
Attaching to process 165209617
[New Thread 165209617.165209617]
0x07ab29bc in __memPoolInit ()
(gdb) c
Continuing.
^C
[Thread 165209617.165209617] #1 stopped.
0x07ab29bc in __memPoolInit ()
Ignoring packet error, continuing...
Stopping Thread 165209617.165209617 failed: timeout
(gdb) Ignoring packet error, continuing...
Stopping Thread 165209617.165209617 failed: timeout
(gdb) (gdb)
Continuing.
Cannot execute this command while the selected thread is running.
(gdb) 
(gdb) exit
Undefined command: "exit".  Try "help".
(gdb) quit
A debugging session is active.

        Inferior 1 [process 165209617] will be detached.

Quit anyway? (y or n) y

Ignoring packet error, continuing...
Bogus trace status reply from target: timeout
(gdb) 
A debugging session is active.

        Inferior 1 [process 165209617] will be detached.
.... (can't get out of GDB!!)

-- 
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]