This is the mail archive of the gdb-patches@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]

Re: [RFC] Replace regcache readonly flag with detached flag


"Maciej W. Rozycki" <macro@imgtec.com> writes:

>> I am not sure this replacement is reasonable.  The regcache can be
>> detached from target, and read-only or read-write.  The regcache can be
>> attached to target, and read-write.  I can't think of a case that
>> regcache is attached to target and read-only.
>
>  As a matter of interest: what if the target is `core'?

Hmm, it is read-only and attached to the target :-)

-- 
Yao (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]