mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 02:01:38 +00:00
cli_monitor: Support dynamically linked binaries
This commit is contained in:
parent
da2076e52a
commit
cae79d30b8
@ -20,6 +20,7 @@
|
||||
#include <cpu_session/connection.h>
|
||||
#include <rm_session/connection.h>
|
||||
#include <cap_session/connection.h>
|
||||
#include <rom_session/connection.h>
|
||||
|
||||
/* local includes */
|
||||
#include <line_editor.h>
|
||||
@ -521,6 +522,12 @@ static inline Command *lookup_command(char const *buf, Command_registry ®istr
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
/* look for dynamic linker */
|
||||
try {
|
||||
static Genode::Rom_connection rom("ld.lib.so");
|
||||
Genode::Process::dynamic_linker(rom.dataspace());
|
||||
} catch (...) { }
|
||||
|
||||
using Genode::Signal_context;
|
||||
using Genode::Signal_receiver;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user