scilab -debug <options>

classic Classic list List threaded Threaded
1 message Options
Sylvestre Ledru Sylvestre Ledru
Reply | Threaded
Open this post in threaded view

scilab -debug <options>


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('%%')"


[10:08:32][sylvestre@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
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/i686/cmov/".
(gdb) run
Starting program: /home/sylvestre/dev/scilab5/.libs/lt-scilab-bin -nwni
-e printf\(\'%%\'\)
[Thread debugging using libthread_db enabled]

                 Copyright (c) 1989-2008