diff options
author | Tristan Gingold <tristan.gingold@adacore.com> | 2014-10-16 13:50:07 +0200 |
---|---|---|
committer | Tristan Gingold <tristan.gingold@adacore.com> | 2014-10-16 13:52:24 +0200 |
commit | 89c7137fad41711072e2a15ce539e2ad293bd065 (patch) | |
tree | 83319235aa54860c3c175e60748da092f368c93d /COPYING.NEWLIB | |
parent | f1885d1e59a7e6e0627429cd3068740d96f8a184 (diff) | |
download | gdb-89c7137fad41711072e2a15ce539e2ad293bd065.zip gdb-89c7137fad41711072e2a15ce539e2ad293bd065.tar.gz gdb-89c7137fad41711072e2a15ce539e2ad293bd065.tar.bz2 |
Darwin: sanitize %gs and %fs values.
Some Darwin kernels return values out of bounds for gs and fs segments.
With this commit, they are masked to avoid garbage.
gdb/ChangeLog:
* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
(i386_darwin_store_inferior_registers): Sanitize gs and fs values
on amd64.
Diffstat (limited to 'COPYING.NEWLIB')
0 files changed, 0 insertions, 0 deletions