* about /proc in preference to ptrace
@ 2003-06-09 7:39 vera0010
2003-06-09 13:19 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: vera0010 @ 2003-06-09 7:39 UTC (permalink / raw)
To: gdb
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
I see the following text at page of gdb-announce 2002-12-11:
GDB 5.3 released!
......
*** Changes in GDB 5.3:
* GNU/Linux shared library multi-threaded performance improved.
When debugging a multi-threaded application on GNU/Linux, GDB now uses '/proc', in preference to 'ptrace' for memory reads.
......
It's annoounced by Mr.Andrew Cagney.
May I ask any questions about:
1) Is it the same as multi-process application debugging on GNU/Linux?
2) Does gdb stop the running process by '/proc'?
3) Please tell me how to do, if gdb can't stop it by /proc interface.
______________________________________
===================================================================
¶©·Ç³£Ð¦»°³é´ó½± ²ÊÆÁÊÖ»úÒ»ÌìÒ»²¿! (http://sms.sina.com.cn/act/fcxhhd.html)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: about /proc in preference to ptrace
2003-06-09 7:39 about /proc in preference to ptrace vera0010
@ 2003-06-09 13:19 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2003-06-09 13:19 UTC (permalink / raw)
To: vera0010; +Cc: gdb
On Mon, Jun 09, 2003 at 03:38:50PM +0800, vera0010 wrote:
> I see the following text at page of gdb-announce 2002-12-11:
>
> GDB 5.3 released!
> ......
> *** Changes in GDB 5.3:
>
> * GNU/Linux shared library multi-threaded performance improved.
>
> When debugging a multi-threaded application on GNU/Linux, GDB now uses '/proc', in preference to 'ptrace' for memory reads.
> ......
> It's annoounced by Mr.Andrew Cagney.
>
> May I ask any questions about:
> 1) Is it the same as multi-process application debugging on GNU/Linux?
No.
> 2) Does gdb stop the running process by '/proc'?
No.
> 3) Please tell me how to do, if gdb can't stop it by /proc interface.
By using signals and ptrace.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-09 13:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-09 7:39 about /proc in preference to ptrace vera0010
2003-06-09 13:19 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox