Re:Re: Why are these two methods default_memory_insert_breakpoint() and default_memory_remove_breakpoint() called multiple times

hilbert via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>

 @John Baldwin 

Got it.

Thank you so much














At 2023-06-02 01:09:40, "John Baldwin" <[email protected]> wrote:
>On 5/31/23 6:50 PM, hilbert wrote:
>>   @John Baldwin
>> 
>> 
>> 
>> Thank you very much for your answer;
>> 
>> 
>> 
>> 
>> I have another question, very confused.I don't understand the mechanism of register caching.
>> 
>> The register cache is initialized at the very beginning, when will it be updated later?
>> 
>> Will it be automatically updated later?
>
>My understanding is that the cache for a given thread is flushed on each stop of that thread,
>so the cache is only active in terms of preventing multiple ptrace() calls or multiple
>requests to the remote target while a user is examining a thread during a single stop.
>
>-- 
>John Baldwin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.