gdb_monitor.run: remove broken stderr redirection

Fixes #3290
This commit is contained in:
Christian Prochaska 2019-04-12 18:32:12 +02:00 committed by Christian Helmuth
parent d6332f1767
commit 4672fdb9f0

View File

@ -138,8 +138,8 @@ set gdb_cmds ""
append gdb_cmds {-ex "target remote localhost:$local_port" }
append gdb_cmds [gdb_initial_breakpoint_cmds $gdb_target_binary]
# run GDB and redirect stderr to stdio to get the relevant output into the expect buffer
eval spawn [gdb] debug/ld.lib.so -n $gdb_cmds 2&>1
# run GDB
eval spawn [gdb] debug/ld.lib.so -n $gdb_cmds
set gdb_id [list $spawn_id $genode_id]
puts ""