[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 03/17] ppc32: add UNUSED attribute to dmy_ctxt
From: |
Cody P Schafer |
Subject: |
[Libunwind-devel] [PATCH 03/17] ppc32: add UNUSED attribute to dmy_ctxt |
Date: |
Fri, 14 Sep 2012 17:11:48 -0700 |
---
src/ppc32/ucontext_i.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ppc32/ucontext_i.h b/src/ppc32/ucontext_i.h
index ab21713..0fd60d9 100644
--- a/src/ppc32/ucontext_i.h
+++ b/src/ppc32/ucontext_i.h
@@ -43,7 +43,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. */
/* These are dummy structures used only for obtaining the offsets of the
various structure members. */
-static ucontext_t dmy_ctxt;
+static ucontext_t dmy_ctxt UNUSED;
#define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[0]
- (void *)&dmy_ctxt)
#define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[1]
- (void *)&dmy_ctxt)
--
1.7.11.3
- [Libunwind-devel] [PATCH 14/17] configure: rename configure.in to configure.ac, (continued)
- [Libunwind-devel] [PATCH 14/17] configure: rename configure.in to configure.ac, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 11/17] UPT: Add reg offsets for ppc32/64, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 12/17] ppc64: be explicit in access_reg range check, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 17/17] ptrace: add more Debug to access_reg, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 13/17] ppc64: add FRAME_POINTER & NIP to regname., Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 15/17] ptrace/access_reg: print out register name on "bad register", Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 10/17] configure: use AC_ARG_ENABLE(arg, text, , custom-act), Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 03/17] ppc32: add UNUSED attribute to dmy_ctxt,
Cody P Schafer <=
- [Libunwind-devel] [PATCH 09/17] configure: use AC_ARG_ENABLE's defaults when possible, Cody P Schafer, 2012/09/14