Tue Feb 27 10:09:42 2018 UTC ()
INTRV is INT-RV - integer return value (not INTR-V, interrupt vector) :)


(uwe)
diff -r1.9 -r1.10 src/share/man/man2/ucontext.2

cvs diff -r1.9 -r1.10 src/share/man/man2/ucontext.2 (expand / switch to unified diff)

--- src/share/man/man2/ucontext.2 2018/02/25 17:45:40 1.9
+++ src/share/man/man2/ucontext.2 2018/02/27 10:09:42 1.10
@@ -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.
92Its description is beyond the scope of this manual page; 92Its description is beyond the scope of this manual page;
93portable applications should not access this structure member. 93portable applications should not access this structure member.
94.Pp 94.Pp
95The following auxiliary macros are available to access some of that 95The following auxiliary macros are available to access some of that
96machine-specific information: 96machine-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
110The frame pointer macro does not guarantee to retrieve a reliable value 110The frame pointer macro does not guarantee to retrieve a reliable value
111and should not be used in a code unless no other debugging format is 111and should not be used in a code unless no other debugging format is
112easily accessible. 112easily accessible.
113A compiler might optimize the frame pointer register in a function, 113A compiler might optimize the frame pointer register in a function,
114reusing it as a general purpose register storage 114reusing it as a general purpose register storage
115.Fl ( fomit-frame-pointer ) 115.Fl ( fomit-frame-pointer )
116or emit function prologues only before parts that need them 116or 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