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: [PATCH V5 1/2] Initialize bnd register before performing inferior calls.


Walfred Tedeschi <walfred.tedeschi@intel.com> writes:

> BND registers should be initialized before performing an inferior call
> to avoid undesired bound violations.

What are the undesired bound violations?  Do have an example?

Resetting BND registers in the inferior call isn't right to me, the BND
setting isn't in effect in the inferior call.  If the function can
trigger bound violations, it is expected that it still can trigger
violations in the inferior call.

-- 
yao (éå)


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