mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
Check that thread stack temps are not already enabled before enabling them.
This fixes a regression introduced by 6c659fc2c7
.
gdb/ChangeLog:
* eval.c (evaluate_subexp): Check that thread stack temporaries
are not already enabled before enabling them.
This commit is contained in:
parent
4072f9208f
commit
18ac6ffc9b
@ -1,3 +1,8 @@
|
||||
2014-11-29 Siva Chandra Reddy <sivachandra@google.com>
|
||||
|
||||
* eval.c (evaluate_subexp): Check that the thread stack temporaries
|
||||
are not already enabled before enabling them.
|
||||
|
||||
2014-11-29 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* arm-tdep.c (arm_analyze_prologue): Move local variables
|
||||
|
@ -69,7 +69,8 @@ evaluate_subexp (struct type *expect_type, struct expression *exp,
|
||||
int cleanup_temps = 0;
|
||||
|
||||
if (*pos == 0 && target_has_execution
|
||||
&& exp->language_defn->la_language == language_cplus)
|
||||
&& exp->language_defn->la_language == language_cplus
|
||||
&& !thread_stack_temporaries_enabled_p (inferior_ptid))
|
||||
{
|
||||
cleanups = enable_thread_stack_temporaries (inferior_ptid);
|
||||
cleanup_temps = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user