Aleksander Morgado <aleksan...@aleksander.es> writes:

>> Bu can't I just run valgrind on the MIPS CPU?  Any hints on how to use
>> valgrind?  It's one of those tools I've been thing that I should
>> explore, but never have..
>>
>
> I have no idea if you can run valgrind on that setup, just give it a
> try maybe? If we're interested in finding invalid read/writes in
> memory (ignoring leaks), the valgrind call would be basically this:
> # G_SLICE=always-malloc valgrind --log-file=valgrind.log
> /usr/sbin/ModemManager --debug
>
> The valgrind.log file would contain the errors reported.

OK, that seemed too easy.  Don't know how to progress here:

root@finn:~# G_SLICE=always-malloc valgrind --log-file=valgrind.log 
/tmp/ModemManager --debug
Illegal instruction


Bjørn
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to