2003-04-21 Adam Fedor * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Redefine to return a trivial value and remove architecture dependant compilation. Temporary until they get put in the gdbarch vector. Index: objc-lang.c =================================================================== RCS file: /cvs/src/src/gdb/objc-lang.c,v retrieving revision 1.18 diff -u -p -r1.18 objc-lang.c --- objc-lang.c 21 Apr 2003 16:48:39 -0000 1.18 +++ objc-lang.c 22 Apr 2003 03:46:00 -0000 @@ -1752,6 +1752,17 @@ _initialize_objc_language (void) add_com_alias ("po", "print-object", class_vars, 1); } +#if 1 +/* Disable these functions until we put them in the gdbarch vector. */ +static unsigned long FETCH_ARGUMENT (int i) +{ + return 0; +} +static CORE_ADDR CONVERT_FUNCPTR (CORE_ADDR pc) +{ + return pc; +} +#else #if defined (__powerpc__) || defined (__ppc__) static unsigned long FETCH_ARGUMENT (int i) { @@ -1790,6 +1801,7 @@ static CORE_ADDR CONVERT_FUNCPTR (CORE_A { return pc; } +#endif #endif static void