Eliminate uses of working_lang.
authorJohn Gilmore <gnu@cygnus>
Thu, 19 Sep 1991 11:42:25 +0000 (11:42 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 19 Sep 1991 11:42:25 +0000 (11:42 +0000)
gdb/stack.c

index f439d42dad012edb2479552d87d1a3c846d107c1..9739f2863dde3ad511410327d1615d3321557800 100644 (file)
@@ -850,7 +850,7 @@ select_frame (frame, level)
   {
     s = find_pc_symtab (get_frame_info (frame)->pc);
     if (s 
-       && working_lang != s->language
+       && s->language != current_language->la_language
        && s->language != language_unknown
        && language_mode == language_mode_auto) {
       set_language(s->language);