aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-06-11 16:49:47 +0000
committerTom Tromey <tromey@redhat.com>2009-06-11 16:49:47 +0000
commit17dd65ce9a4afcdac9d58d57a3ddfe6f39e1c648 (patch)
treeea81d9d7e8090fdfb10341ff1dd0ed270e03bf25 /gdb/eval.c
parent828cd292ea8c751b9e977f74be2ab3773939a977 (diff)
downloadfsf-binutils-gdb-17dd65ce9a4afcdac9d58d57a3ddfe6f39e1c648.zip
fsf-binutils-gdb-17dd65ce9a4afcdac9d58d57a3ddfe6f39e1c648.tar.gz
fsf-binutils-gdb-17dd65ce9a4afcdac9d58d57a3ddfe6f39e1c648.tar.bz2
* eval.c (evaluate_subexp_standard) <OP_OBJC_MSGCALL>: Remove
'static' from local variable definitions.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index aac8f20..ec5b091 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;