* eval.c (evaluate_subexp_standard) <OP_OBJC_MSGCALL>: Remove
authorTom Tromey <tromey@redhat.com>
Thu, 11 Jun 2009 16:49:47 +0000 (16:49 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 11 Jun 2009 16:49:47 +0000 (16:49 +0000)
'static' from local variable definitions.

gdb/ChangeLog
gdb/eval.c

index 030d14e186b003d42d1accd946ac059ef8e8bd8a..dbabe0d4db9b75bf486ade7e7b5b6b7a5e705f91 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-11  Tom Tromey  <tromey@redhat.com>
+
+       * eval.c (evaluate_subexp_standard) <OP_OBJC_MSGCALL>: Remove
+       'static' from local variable definitions.
+
 2009-06-11  Pedro Alves  <pedro@codesourcery.com>
 
        * symtab.c (append_expanded_sal): Remove unused local variables.
index aac8f20df8c4afe537f46c6fc93883dc650372fa..ec5b0911e43cb084c76e64939a2929a49d234ffb 100644 (file)
@@ -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;