public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug remote/14161] New: agent socket never deleted
@ 2012-05-24 16:09 tromey at redhat dot com
2012-05-25 2:11 ` [Bug remote/14161] " qiyao at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2012-05-24 16:09 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14161
Bug #: 14161
Summary: agent socket never deleted
Product: gdb
Version: 7.4
Status: NEW
Severity: normal
Priority: P2
Component: remote
AssignedTo: unassigned@sourceware.org
ReportedBy: tromey@redhat.com
Classification: Unclassified
When I run the gdb test suite, I see files like this in /tmp:
srwxr-xr-x. 1 tromey tromey 0 May 17 07:27 gdb_ust11542=
I think this comes from gdbserver's gdb_agent_socket_init.
As far as I can see, there is no code to unlink the socket after
gdbserver is done with it.
I think there should be.
--
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] 4+ messages in thread
* [Bug remote/14161] agent socket never deleted
2012-05-24 16:09 [Bug remote/14161] New: agent socket never deleted tromey at redhat dot com
@ 2012-05-25 2:11 ` qiyao at gcc dot gnu.org
2012-07-27 8:09 ` cvs-commit at gcc dot gnu.org
2022-12-21 18:17 ` tromey at sourceware dot org
2 siblings, 0 replies; 4+ messages in thread
From: qiyao at gcc dot gnu.org @ 2012-05-25 2:11 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14161
Yao Qi <qiyao at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |qiyao at gcc dot gnu.org
AssignedTo|unassigned at sourceware |qiyao at gcc dot gnu.org
|dot org |
--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> 2012-05-25 02:10:45 UTC ---
I'll have a look.
--
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] 4+ messages in thread
* [Bug remote/14161] agent socket never deleted
2012-05-24 16:09 [Bug remote/14161] New: agent socket never deleted tromey at redhat dot com
2012-05-25 2:11 ` [Bug remote/14161] " qiyao at gcc dot gnu.org
@ 2012-07-27 8:09 ` cvs-commit at gcc dot gnu.org
2022-12-21 18:17 ` tromey at sourceware dot org
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2012-07-27 8:09 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14161
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2012-07-27 08:09:22 UTC ---
CVSROOT: /cvs/src
Module name: src
Changes by: qiyao@sourceware.org 2012-07-27 08:09:14
Modified files:
gdb/doc : ChangeLog gdb.texinfo
gdb/gdbserver : ChangeLog server.h target.c target.h
tracepoint.c
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.trace: strace.exp
Log message:
gdb/gdbserver/
PR remote/14161.
* server.h: Declare gdb_agent_about_to_close.
* target.c (kill_inferior): Include "agent.h".
New. Send command 'kill'.
* target.h (kill_inferior): Removed macro.
* tracepoint.c (gdb_agent_about_to_close): New.
(gdb_agent_helper_thread): Handle command 'close'.
Wait endlessly until the inferior stops.
Install gdb_agent_remove_socket to atexit hook.
(agent_socket_name): New static variable.
(gdb_agent_socket_init): Replace local variable 'name' with
'agent_socket_name'.
(gdb_agent_remove_socket): New.
gdb/doc/
* gdb.texinfo (IPA Protocol Commands): Document new command
'close'.
gdb/testsuite/
KFAIL for PR remote/14161.
* gdb.trace/strace.exp (strace_remove_socket): kfail for native.
Cleanup socket files.
(strace_info_marker): Detach inferior.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/ChangeLog.diff?cvsroot=src&r1=1.1348&r2=1.1349
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/doc/gdb.texinfo.diff?cvsroot=src&r1=1.992&r2=1.993
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.633&r2=1.634
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/server.h.diff?cvsroot=src&r1=1.97&r2=1.98
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/target.c.diff?cvsroot=src&r1=1.25&r2=1.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/target.h.diff?cvsroot=src&r1=1.64&r2=1.65
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/tracepoint.c.diff?cvsroot=src&r1=1.62&r2=1.63
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3307&r2=1.3308
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.trace/strace.exp.diff?cvsroot=src&r1=1.13&r2=1.14
--
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] 4+ messages in thread
* [Bug remote/14161] agent socket never deleted
2012-05-24 16:09 [Bug remote/14161] New: agent socket never deleted tromey at redhat dot com
2012-05-25 2:11 ` [Bug remote/14161] " qiyao at gcc dot gnu.org
2012-07-27 8:09 ` cvs-commit at gcc dot gnu.org
@ 2022-12-21 18:17 ` tromey at sourceware dot org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2022-12-21 18:17 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=14161
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
Sounds like this was fixed some time ago.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-12-21 18:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-24 16:09 [Bug remote/14161] New: agent socket never deleted tromey at redhat dot com
2012-05-25 2:11 ` [Bug remote/14161] " qiyao at gcc dot gnu.org
2012-07-27 8:09 ` cvs-commit at gcc dot gnu.org
2022-12-21 18:17 ` tromey at sourceware dot org
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).