* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
architecture dependant compilation and mark as unimplemented (until they get put in the gdbarch vector).
This commit is contained in:
parent
4ac33a9514
commit
93de3e7f81
2 changed files with 20 additions and 0 deletions
|
@ -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>
|
2003-04-23 David Carlton <carlton@bactrian.org>
|
||||||
|
|
||||||
* cp-support.c (cp_find_first_component): Accept 'operator' in
|
* cp-support.c (cp_find_first_component): Accept 'operator' in
|
||||||
|
|
|
@ -1752,6 +1752,19 @@ _initialize_objc_language (void)
|
||||||
add_com_alias ("po", "print-object", class_vars, 1);
|
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__)
|
#if defined (__powerpc__) || defined (__ppc__)
|
||||||
static unsigned long FETCH_ARGUMENT (int i)
|
static unsigned long FETCH_ARGUMENT (int i)
|
||||||
{
|
{
|
||||||
|
@ -1791,6 +1804,7 @@ static CORE_ADDR CONVERT_FUNCPTR (CORE_ADDR pc)
|
||||||
return pc;
|
return pc;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
static void
|
static void
|
||||||
read_objc_method (CORE_ADDR addr, struct objc_method *method)
|
read_objc_method (CORE_ADDR addr, struct objc_method *method)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue