[RFA]: gdbarch FETCH_POINTER_ARGUMENT
Andrew Cagney
ac131313@redhat.com
Tue May 20 20:07:00 GMT 2003
Adam,
I need to think about FETCH_POINTER_ARGUMENT. It needs additional
parameters - something to that lets it fetch registers or memory, and
something identifying the type of pointer.
As for convert function pointer, I think, at this stage, it would be
better to simply eliminate the only call:
@@ -1894,7 +1840,7 @@ find_implementation_from_class (CORE_ADD
#endif
if (meth_str.name == sel)
- return CONVERT_FUNCPTR (meth_str.imp);
+ return CONVERT_FUNCTION_POINTER (meth_str.imp);
}
mlistnum++;
}
replacing it with the code from the default case (do nothing), and a
comment mentioning that HP was doing a pointer dereference here. I think
it is better to leave this one to someone that can both demonstrate the
need for the tweek, and that some other existing method/code isn't
sufficient (I think I've seen this before).
Andrew
More information about the Gdb-patches
mailing list