bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with mach_printf()


From: Svante Signell
Subject: Re: Need help with mach_printf()
Date: Fri, 08 Mar 2019 11:44:30 +0100
User-agent: Evolution 3.30.4-1

On Fri, 2019-03-08 at 11:42 +0100, Svante Signell wrote:
> On Fri, 2019-03-08 at 11:39 +0100, Svante Signell wrote:
> > On Fri, 2019-03-08 at 11:28 +0100, Samuel Thibault wrote:
> > > Use mach_print for a start, to avoid any potential problem with vsnprintf
> > > etc.
> > > 
> > > Svante Signell, le ven. 08 mars 2019 11:16:32 +0100, a ecrit:
> > > > (cd libs; ln -s libtrivfs.so.0.3 libtrivfs.so.0)
> > > > export LD_LIBRARY_PATH=./libs
> > > > ldd /hurd/null
> > > >         libtrivfs.so.0.3 => ./libs/libtrivfs.so.0.3 (0x01029000)
> > > 
> > > If it's /dev/null that you want to debug, it's for the start of /dev/null
> > > that
> > > you
> > > need to set LD_LIBRARY_PATH. And do not set the variable then sudo to
> > > start /dev/null, sudo clears the environment.
> > 
> > So I need to do as root?
> > LD_LIBRARY_PATH=/home/srs/hurd.debs/0.9.git20190303-1.3/libfshelp-tests/libs
> >  
> > \
> > settrans -cap /dev/null /hurd/null
> 
> Does not work :(

There is an example written by Thomas at:
https://www.gnu.org/software/hurd/hurd/debugging/translator.html
I think it has to be improved, or another example like my problem to be added!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]