mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
gdb_monitor: use 'with_libc()'
This commit is contained in:
parent
51515a598c
commit
9067768d25
@ -40,5 +40,7 @@ void Libc::Component::construct(Libc::Env &env)
|
||||
int argc = 3;
|
||||
const char *argv[] = { "gdbserver", "/dev/terminal", "target", 0 };
|
||||
|
||||
gdbserver_main(argc, argv);
|
||||
Libc::with_libc([&] () {
|
||||
gdbserver_main(argc, argv);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user