| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: ucontext.2,v 1.9 2018/02/25 17:45:40 uwe Exp $ | | 1 | .\" $NetBSD: ucontext.2,v 1.10 2018/02/27 10:09:42 uwe Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2001 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2001 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" This code is derived from software contributed to The NetBSD Foundation | | 6 | .\" This code is derived from software contributed to The NetBSD Foundation |
7 | .\" by Klaus Klein. | | 7 | .\" by Klaus Klein. |
8 | .\" | | 8 | .\" |
9 | .\" Redistribution and use in source and binary forms, with or without | | 9 | .\" Redistribution and use in source and binary forms, with or without |
10 | .\" modification, are permitted provided that the following conditions | | 10 | .\" modification, are permitted provided that the following conditions |
11 | .\" are met: | | 11 | .\" are met: |
12 | .\" 1. Redistributions of source code must retain the above copyright | | 12 | .\" 1. Redistributions of source code must retain the above copyright |
13 | .\" notice, this list of conditions and the following disclaimer. | | 13 | .\" notice, this list of conditions and the following disclaimer. |
14 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 14 | .\" 2. Redistributions in binary form must reproduce the above copyright |
| @@ -92,27 +92,27 @@ and other machine-specific information. | | | @@ -92,27 +92,27 @@ and other machine-specific information. |
92 | Its description is beyond the scope of this manual page; | | 92 | Its description is beyond the scope of this manual page; |
93 | portable applications should not access this structure member. | | 93 | portable applications should not access this structure member. |
94 | .Pp | | 94 | .Pp |
95 | The following auxiliary macros are available to access some of that | | 95 | The following auxiliary macros are available to access some of that |
96 | machine-specific information: | | 96 | machine-specific information: |
97 | .Bl -tag -width ".Fn _UC_MACHINE_SET_PC" -offset indent | | 97 | .Bl -tag -width ".Fn _UC_MACHINE_SET_PC" -offset indent |
98 | .It Fn _UC_MACHINE_SP | | 98 | .It Fn _UC_MACHINE_SP |
99 | \(em read stack pointer, | | 99 | \(em read stack pointer, |
100 | .It Fn _UC_MACHINE_FP | | 100 | .It Fn _UC_MACHINE_FP |
101 | \(em read frame pointer (base pointer), | | 101 | \(em read frame pointer (base pointer), |
102 | .It Fn _UC_MACHINE_PC | | 102 | .It Fn _UC_MACHINE_PC |
103 | \(em read program counter, | | 103 | \(em read program counter, |
104 | .It Fn _UC_MACHINE_INTRV | | 104 | .It Fn _UC_MACHINE_INTRV |
105 | \(em read interrupt vector, | | 105 | \(em read integer return value, |
106 | .It Fn _UC_MACHINE_SET_PC | | 106 | .It Fn _UC_MACHINE_SET_PC |
107 | \(em write program counter. | | 107 | \(em write program counter. |
108 | .El | | 108 | .El |
109 | .Pp | | 109 | .Pp |
110 | The frame pointer macro does not guarantee to retrieve a reliable value | | 110 | The frame pointer macro does not guarantee to retrieve a reliable value |
111 | and should not be used in a code unless no other debugging format is | | 111 | and should not be used in a code unless no other debugging format is |
112 | easily accessible. | | 112 | easily accessible. |
113 | A compiler might optimize the frame pointer register in a function, | | 113 | A compiler might optimize the frame pointer register in a function, |
114 | reusing it as a general purpose register storage | | 114 | reusing it as a general purpose register storage |
115 | .Fl ( fomit-frame-pointer ) | | 115 | .Fl ( fomit-frame-pointer ) |
116 | or emit function prologues only before parts that need them | | 116 | or emit function prologues only before parts that need them |
117 | .Fl ( fshrink-wrap ) . | | 117 | .Fl ( fshrink-wrap ) . |
118 | .Sh SEE ALSO | | 118 | .Sh SEE ALSO |