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 gdb/18368] gdb with nsenter attaches to wrong process


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

--- Comment #3 from Gary Benson <gbenson at redhat dot com> ---
You do need to have GDB or gdbserver inside the container if you're going to
use nsenter.  (If just gdbserver, start GDB with no options and do "target
remote | nsenter ... gdbserver - --attach 1")

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