projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee3c1a
)
Eliminate uses of working_lang.
author
John Gilmore
<gnu@cygnus>
Thu, 19 Sep 1991 11:42:25 +0000
(11:42 +0000)
committer
John Gilmore
<gnu@cygnus>
Thu, 19 Sep 1991 11:42:25 +0000
(11:42 +0000)
gdb/stack.c
patch
|
blob
|
history
diff --git
a/gdb/stack.c
b/gdb/stack.c
index f439d42dad012edb2479552d87d1a3c846d107c1..9739f2863dde3ad511410327d1615d3321557800 100644
(file)
--- 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);