projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubsan: visium: left shift cannot be represented in type 'int'
[deliverable/binutils-gdb.git]
/
gdb
/
target.c
diff --git
a/gdb/target.c
b/gdb/target.c
index 7c9befcc1c2a50aeb96ad19a55c5da857c7a6185..5a3764e5e8b47aabf1a073ec1768d81372912ad1 100644
(file)
--- a/
gdb/target.c
+++ b/
gdb/target.c
@@
-562,11
+562,7
@@
target_stack::push (target_ops *t)
strata stratum = t->stratum ();
if (m_stack[stratum] != NULL)
- {
- target_ops *prev = m_stack[stratum];
- m_stack[stratum] = NULL;
- target_close (prev);
- }
+ unpush (m_stack[stratum]);
/* Now add the new one. */
m_stack[stratum] = t;
This page took
0.025679 seconds
and
4
git commands to generate.