Article View: gnu.gcc.help
Article #51585updating on-the-fly thread stack contents
From: Olivier Gruber INRIA ROCQUENCOUR...
Date: Thu, 06 May 1993 14:01
Date: Thu, 06 May 1993 14:01
28 lines
1379 bytes
1379 bytes
Hi, Here is my problem: I would like to stop a thread, be able to change the values in local variables on the stack of that thread, and resume the thread. How can I be sure there is no problem with register optimization ? Is stopping the thread in a dedicated function sufficient for changing the variables of superior stack frames in a safe manner ? Is making the dedicated function "volatile" necessary ? Can this function be an asm() ? Is there registers whose values do not appear on the stack ? I think about the "this" pointer in g++ or local variable declared as register ? Can I forbid such situation where some registers do not have a corresponding local variable ? Thanks in advance. Olivier.
Technical Details
Message-ID:
<6332@seti.inria.fr>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!torn!nott!bnrgate!bnr.co.uk!uknet!mcsun!julienas!seti!rodin.inria.fr!gruberShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,7c27e0e0e4f9b836,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-06 07:37:31 PST Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!torn!nott!bnrgate!bnr.co.uk!uknet!mcsun!julienas!seti!rodin.inria.fr!gruber From: gruber@rodin.inria.fr (Olivier Gruber INRIA ROCQUENCOURT) Newsgroups: gnu.gcc.help Subject: updating on-the-fly thread stack contents Message-ID: <6332@seti.inria.fr> Date: 6 May 93 14:01:36 GMT Sender: news@seti.inria.fr Organization: INRIA * Rocquencourt BP 105 * F-78153 LE CHESNAY CEDEX* France Lines: 32