Hello Paramesh,

> I have attached the file as reference) it looks like the printf's in
> main.cc are completely bypassing the library(not touching the functions
> of libc). Is it not??  If it is, then it is using the printf() in Genode
> directly with out using the plugins of libc and hence the printf's in
> bionic's testing main.cc(same as attached) should also need to print
> right?

since your program states "using namespace Genode", the compiler
resolves the "printf" symbol by using 'Genode::printf', which is
provided directly by the Genode environment and is independent from the
libc. If you want to make sure to *not* call 'Genode::printf', omit the
"using namespace Genode" directive. Alternatively, you may change
"printf" to "::printf" to explicitly tell the compiler your intention.

>                 As per the debug messages that I have, bionic is exactly
> stopping just after the parsing of config (taking the file path given to
> stdout). Am I missing out something here?

To investigate the point where the program gets stuck, I would run the
scenario on base-linux, list all Genode threads via 'ps -eLf | grep
Genode' and attach to GDB to the thread in question using 'gdb -p
<thread-id>'. In GDB, you can conveniently obtain a backtrace with the
'bt' command.

Cheers
Norman

-- 
Dr.-Ing. Norman Feske
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to