scilab -debug <options>

Sylvestre Ledru sylvestre.ledru at inria.fr
Wed Jan 16 10:11:20 CET 2008


Hello,

Just a quick email to tell you that I just made a small change in the
option -debug under Linux.

Now, if you call the scilab script like that:
./bin/scilab -debug -nwni -e "printf('%%')"
It will launch Scilab in GDB and if you type run, it is going to launch
Scilab with the options -nwni -e "printf('%%')"

Example: 

[10:08:32][sylvestre at korcula] ~/dev/scilab5$ ./bin/scilab -debug -nwni
-e "printf('%%')"
Running debug of Scilab  :  /home/sylvestre/dev/scilab5/libtool
--mode=execute gdb --args /home/sylvestre/dev/scilab5/scilab-bin -nwni
-e printf('%%')
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) run
Starting program: /home/sylvestre/dev/scilab5/.libs/lt-scilab-bin -nwni
-e printf\(\'%%\'\)
[Thread debugging using libthread_db enabled]
        ___________________________________________        
                     scilab-trunk-SVN

                 Copyright (c) 1989-2008                   
[...]


Cheers,
Sylvestre





More information about the dev mailing list