public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/9684] New: gdbserver, attach to stopped processes
@ 2008-12-24 18:57 pedro at codesourcery dot com
2009-05-04 10:22 ` [Bug server/9684] " pedro at codesourcery dot com
0 siblings, 1 reply; 5+ messages in thread
From: pedro at codesourcery dot com @ 2008-12-24 18:57 UTC (permalink / raw)
To: gdb-prs
linux gdbserver doesn't know how to attach to stopped processes (while native
GDB does). It should.
--
Summary: gdbserver, attach to stopped processes
Product: gdb
Version: 6.50
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: remote
AssignedTo: unassigned at sourceware dot org
ReportedBy: pedro at codesourcery dot com
CC: gdb-prs at sourceware dot org
OtherBugsDependingO 8967
nThis:
http://sourceware.org/bugzilla/show_bug.cgi?id=9684
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug server/9684] gdbserver, attach to stopped processes
2008-12-24 18:57 [Bug remote/9684] New: gdbserver, attach to stopped processes pedro at codesourcery dot com
@ 2009-05-04 10:22 ` pedro at codesourcery dot com
0 siblings, 0 replies; 5+ messages in thread
From: pedro at codesourcery dot com @ 2009-05-04 10:22 UTC (permalink / raw)
To: gdb-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|remote |server
http://sourceware.org/bugzilla/show_bug.cgi?id=9684
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug server/9684] gdbserver, attach to stopped processes
[not found] <bug-9684-4717@http.sourceware.org/bugzilla/>
2012-02-16 15:45 ` palves at redhat dot com
2012-02-27 16:19 ` cvs-commit at gcc dot gnu.org
@ 2012-02-27 16:31 ` palves at redhat dot com
2 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2012-02-27 16:31 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=9684
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|6.8 |7.5
--- Comment #3 from Pedro Alves <palves at redhat dot com> 2012-02-27 16:31:19 UTC ---
Patch checked in.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug server/9684] gdbserver, attach to stopped processes
[not found] <bug-9684-4717@http.sourceware.org/bugzilla/>
2012-02-16 15:45 ` palves at redhat dot com
@ 2012-02-27 16:19 ` cvs-commit at gcc dot gnu.org
2012-02-27 16:31 ` palves at redhat dot com
2 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-02-27 16:19 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=9684
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-02-27 16:19:25 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2012-02-27 16:19:19
Modified files:
gdb/gdbserver : ChangeLog linux-low.c
Log message:
2012-02-27 Pedro Alves <palves@redhat.com>
PR server/9684
* linux-low.c (pid_is_stopped): New.
(linux_attach_lwp_1): Handle attaching to 'T (stopped)' processes.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.556&r2=1.557
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/linux-low.c.diff?cvsroot=src&r1=1.193&r2=1.194
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug server/9684] gdbserver, attach to stopped processes
[not found] <bug-9684-4717@http.sourceware.org/bugzilla/>
@ 2012-02-16 15:45 ` palves at redhat dot com
2012-02-27 16:19 ` cvs-commit at gcc dot gnu.org
2012-02-27 16:31 ` palves at redhat dot com
2 siblings, 0 replies; 5+ messages in thread
From: palves at redhat dot com @ 2012-02-16 15:45 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=9684
--- Comment #1 from Pedro Alves <palves at redhat dot com> 2012-02-16 15:44:53 UTC ---
On Fedora 16, running 3.2.3-2.fc16.x86_64, it seems waitpid no longer hangs
after attach, if the process was stopped. So no special handling is necessary
there. Tested with the attach-stopped.exp test against the
native-extended-remote board. Special handling like gdb/linux-nat.c does may
be still necessary for older kernels, if someone cares for those.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-02-27 16:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-24 18:57 [Bug remote/9684] New: gdbserver, attach to stopped processes pedro at codesourcery dot com
2009-05-04 10:22 ` [Bug server/9684] " pedro at codesourcery dot com
[not found] <bug-9684-4717@http.sourceware.org/bugzilla/>
2012-02-16 15:45 ` palves at redhat dot com
2012-02-27 16:19 ` cvs-commit at gcc dot gnu.org
2012-02-27 16:31 ` palves at redhat 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).