José Dapena Paz - jdap...@igalia.com wrote:
Maybe the problem is that, building with debian scripts, it will run
modest with maemo launcher support. This means that modest will be
harder to debug, and you won't be able to run directly the binary.
The way to run the binary, in fact, is a bit different if maemo
launcher support is done. What I do is:
run-standalone.sh native-gdb --args maemo-summoner modest.launch -s
Explanation about these:
* modest.launch: the modest binary itself as installed with debian
package. This one is as a shared library that's run by maemo launcher.
* maemo-summoner: a program that emulates the behavior of maemo
launcher, loading just one "launch" binary.
* native-gdb: a script that helps you run the proper gdb instead of
scratchbox one (equivalent to the trick Sergio told). This is in package
maemo-debug-scripts.
I don't quite understand this, is this how you debug a binary compiled
from the Debian scripts, or using autogen.sh directly like Sergio
suggested? I've just done the "make install" as Sergio suggested, and
then I tried the above, which fails. But this might be because I'm now
bypassing the maemo launcher thing?
[sbox-FREMANTLE_X86: ~] > run-standalone.sh native-gdb --args
maemo-summoner modest.launch -s
GNU gdb (GDB) 6.8.50.20090417-debian
Copyright (C) 2009 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(no debugging symbols found)
(gdb) run -s
Starting program: /targets/FREMANTLE_X86/usr/bin/maemo-summoner -s
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
maemo-summoner: died could not locate program to launch
Program exited with code 01.
_______________________________________________
Modest-devel mailing list
Modest-devel@garage.maemo.org
https://garage.maemo.org/mailman/listinfo/modest-devel