Revert previous change. Not obvious.

This commit is contained in:
Andrew Cagney 2002-09-19 03:58:41 +00:00
parent 3b4efeaa2d
commit 389e51db10
20 changed files with 55 additions and 247 deletions

View file

@ -1104,11 +1104,7 @@ address_info (char *exp, int from_tty)
printf_filtered ("Symbol \"");
fprintf_symbol_filtered (gdb_stdout, exp,
current_language->la_language, DMGL_ANSI);
printf_filtered ("\" is a field of the local class variable ");
if (current_language->la_language == language_objc)
printf_filtered ("'self'\n"); /* ObjC equivalent of "this" */
else
printf_filtered ("'this'\n");
printf_filtered ("\" is a field of the local class variable `this'\n");
return;
}