i use my linux box (RH6.1) to debug some multi-thread programs.
when i created the new thread,and make it suspend,
then i want to trace it,i use the gdb 4.18 . but when i use
attach command, it tells me: "Error: ptrace: Operation not permitted."
it seems the gdb4.18 DOSE NOT support multi-thread,i'm not sure.
how to get a correct gdb version so i can debug my threads?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!