aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-02-18 04:22:35 +0000
committerJim Blandy <jimb@codesourcery.com>2004-02-18 04:22:35 +0000
commitc253954e00ea3c23f7ff74f73b94c85ce135b82e (patch)
tree139ba2f8953583dc2cb27f274e226277988cf670 /gdb/objc-lang.c
parent62f4b920f7e59d5b414fc581fdab175ecc578645 (diff)
downloadgdb-c253954e00ea3c23f7ff74f73b94c85ce135b82e.zip
gdb-c253954e00ea3c23f7ff74f73b94c85ce135b82e.tar.gz
gdb-c253954e00ea3c23f7ff74f73b94c85ce135b82e.tar.bz2
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Committed by Jim Blandy <jimb@redhat.com>. * eval.c (evaluate_subexp_standard, case OP_OBJC_MSGCALL): Use CORE_ADDR as type for selectors. Correct types for GNU run time message lookup function to use double indirection. * objc-lang.c (lookup_child_selector): Use CORE_ADDR as return type. * objc-lang.h (lookup_child_selector): Adapt prototype.
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r--gdb/objc-lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index cc933db..5c184f3 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -133,7 +133,7 @@ lookup_objc_class (char *classname)
1, &classval));
}
-int
+CORE_ADDR
lookup_child_selector (char *selname)
{
struct value * function, *selstring;
@@ -754,7 +754,7 @@ end_msglist(void)
int val = msglist_len;
struct selname *sel = selname_chain;
char *p = msglist_sel;
- int selid;
+ CORE_ADDR selid;
selname_chain = sel->next;
msglist_len = sel->msglist_len;