summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Fedor <fedor@gnu.org>2003-04-25 03:18:20 +0000
committerAdam Fedor <fedor@gnu.org>2003-04-25 03:18:20 +0000
commite17497c21380ebe8a1380ca4b814445514245f34 (patch)
treef2ba8aa62a0a2bde415426c4b9d74144ade473ca
parent3acf1d372aafd86a488be9152b64d160ec041291 (diff)
downloadgdb-e17497c21380ebe8a1380ca4b814445514245f34.tar.gz
* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
architecture dependant compilation and mark as unimplemented (until they get put in the gdbarch vector).
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/objc-lang.c14
2 files changed, 20 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 1acb38cc06f..25bf376c0c5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-24 Adam Fedor <fedor@gnu.org>
+
+ * objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
+ architecture dependant compilation and mark as unimplemented
+ (until they get put in the gdbarch vector).
+
2003-04-23 David Carlton <carlton@bactrian.org>
* cp-support.c (cp_find_first_component): Accept 'operator' in
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index c8524cc25b6..c27fb221068 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -1752,6 +1752,19 @@ _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)
+{
+ internal_error (__FILE__, __LINE__, "FETCH_ARGUMENT not implemented");
+ return 0;
+}
+static CORE_ADDR CONVERT_FUNCPTR (CORE_ADDR pc)
+{
+ internal_error (__FILE__, __LINE__, "CONVERT_FUNCPTR not implemented");
+ return pc;
+}
+#else
#if defined (__powerpc__) || defined (__ppc__)
static unsigned long FETCH_ARGUMENT (int i)
{
@@ -1791,6 +1804,7 @@ static CORE_ADDR CONVERT_FUNCPTR (CORE_ADDR pc)
return pc;
}
#endif
+#endif
static void
read_objc_method (CORE_ADDR addr, struct objc_method *method)