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.
This commit is contained in:
Jim Blandy 2004-02-18 04:22:35 +00:00
parent 62f4b920f7
commit c253954e00
4 changed files with 27 additions and 11 deletions

View file

@ -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;