This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v9] amd64-mpx: initialize BND register before performing inferior calls.
- From: Jiong Wang <jiong dot wang at foss dot arm dot com>
- To: GDB <gdb-patches at sourceware dot org>
- Cc: walfred dot tedeschi at intel dot com
- Date: Wed, 8 Mar 2017 11:11:01 +0000
- Subject: Re: [PATCH v9] amd64-mpx: initialize BND register before performing inferior calls.
- Authentication-results: sourceware.org; auth=none
- References: <1488215745-5625-1-git-send-email-walfred.tedeschi@intel.com>
On 27/02/17 17:15, Walfred Tedeschi wrote:
+
+@smallexample
+ $ break *upper
+ Breakpoint 2 at 0x4009de: file i386-mpx-call.c, line 47.
+ $ print upper (a, b, c, d, 1)
+ Breakpoint 2, upper (a=0x0, b=0x6e0000005b, c=0x0, d=0x0, len=48)....
+ $ print $bnd0
+ {lbound = 0x0, ubound = ffffffff} : size -1
+@end smallexample
This caused "make html" failure, and it looks to me is missing @ before {.
I will commit this patch as obvious.
gdb/
2017-03-08 Jiong Wangg <jiong.wang@arm.com>
* doc/gdb.texinfo (Memory Protection Extensions): Add missing escape
character "@".
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index ba56ab282fcec17b3d703a4c53afd3fb14b14c37..5cf0f973bb5aaedd8ab3bd68ec2562f6046664fd 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -22574,7 +22574,7 @@ continuing the execution. For example:
$ print upper (a, b, c, d, 1)
Breakpoint 2, upper (a=0x0, b=0x6e0000005b, c=0x0, d=0x0, len=48)....
$ print $bnd0
- {lbound = 0x0, ubound = ffffffff} : size -1
+ @{lbound = 0x0, ubound = ffffffff@} : size -1
@end smallexample
At this last step the value of bnd0 can be changed for investigation of bound