public inbox for gdb-testers@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Suggest running gdbserver for a PID in container
@ 2016-03-17 17:33 sergiodj+buildbot
  2016-03-17 17:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: sergiodj+buildbot @ 2016-03-17 17:33 UTC (permalink / raw)
  To: gdb-testers

*** TEST RESULTS FOR COMMIT 708bf0a14b10d801a600759f3ef6d272978ae854 ***

Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Branch: master
Commit: 708bf0a14b10d801a600759f3ef6d272978ae854

Suggest running gdbserver for a PID in container

currently
	gdb -p <pid from a container>
will print:
	warning: Target and debugger are in different PID namespaces; thread lists and other data are likely unreliable

It correctly states the problem but it does not say how to solve it.

Originally I wanted to suggest also the Docker "-p 1234:1234" parameter but
I see the containers are more general topic than just Docker (even LxC etc.).

According to Gary future GDBs should be able to work even without gdbserver.
But currently gdbserver is still required.

gdb/ChangeLog
2016-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>

	* linux-thread-db.c (check_pid_namespace_match): Extend the message.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-03-18  8:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-17 17:33 [binutils-gdb] Suggest running gdbserver for a PID in container sergiodj+buildbot
2016-03-17 17:44 ` Failures on AIX-POWER7-plain, branch master sergiodj+buildbot
2016-03-17 17:53 ` Failures on RHEL-s390x-m64, " sergiodj+buildbot
2016-03-18  1:09 ` Failures on Fedora-i686, " sergiodj+buildbot
2016-03-18  1:12 ` Failures on Fedora-x86_64-native-extended-gdbserver-m32, " sergiodj+buildbot
2016-03-18  1:26 ` Failures on Fedora-x86_64-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-03-18  1:45 ` Failures on Fedora-x86_64-native-gdbserver-m64, " sergiodj+buildbot
2016-03-18  1:52 ` Failures on Fedora-x86_64-native-gdbserver-m32, " sergiodj+buildbot
2016-03-18  2:41 ` Failures on Debian-s390x-m64, " sergiodj+buildbot
2016-03-18  3:42 ` Failures on Debian-s390x-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-03-18  7:08 ` Failures on Fedora-ppc64be-native-extended-gdbserver-m64, " sergiodj+buildbot
2016-03-18  8:19 ` Failures on Debian-i686-native-gdbserver, " sergiodj+buildbot
2016-03-18  8:45 ` Failures on Debian-i686-native-extended-gdbserver, " sergiodj+buildbot

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).