From 17dd65ce9a4afcdac9d58d57a3ddfe6f39e1c648 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 11 Jun 2009 16:49:47 +0000 Subject: [PATCH] * eval.c (evaluate_subexp_standard) : Remove 'static' from local variable definitions. --- gdb/ChangeLog | 5 +++++ gdb/eval.c | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 030d14e186..dbabe0d4db 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-06-11 Tom Tromey + + * eval.c (evaluate_subexp_standard) : Remove + 'static' from local variable definitions. + 2009-06-11 Pedro Alves * symtab.c (append_expanded_sal): Remove unused local variables. diff --git a/gdb/eval.c b/gdb/eval.c index aac8f20df8..ec5b0911e4 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -1016,17 +1016,17 @@ evaluate_subexp_standard (struct type *expect_type, case OP_OBJC_MSGCALL: { /* Objective C message (method) call. */ - static CORE_ADDR responds_selector = 0; - static CORE_ADDR method_selector = 0; + CORE_ADDR responds_selector = 0; + CORE_ADDR method_selector = 0; CORE_ADDR selector = 0; int struct_return = 0; int sub_no_side = 0; - static struct value *msg_send = NULL; - static struct value *msg_send_stret = NULL; - static int gnu_runtime = 0; + struct value *msg_send = NULL; + struct value *msg_send_stret = NULL; + int gnu_runtime = 0; struct value *target = NULL; struct value *method = NULL;