aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-19 11:42:25 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-19 11:42:25 +0000
commit91ec58ee5c746c2cbc456fd48a304e4ef4834e8a (patch)
treeefae1175bec90dc8586cf238db85379794e1e0f0 /gdb/stack.c
parentbee3c1a1ecc3532aac87a7b0714d1b9020921f57 (diff)
downloadgdb-91ec58ee5c746c2cbc456fd48a304e4ef4834e8a.zip
gdb-91ec58ee5c746c2cbc456fd48a304e4ef4834e8a.tar.gz
gdb-91ec58ee5c746c2cbc456fd48a304e4ef4834e8a.tar.bz2
Eliminate uses of working_lang.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index f439d42..9739f28 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -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);