[Gambas-user] ARM debugging - where to start?
Benoît Minisini
gambas at ...1...
Tue Sep 6 13:12:53 CEST 2011
> Hi,
>
> I have an ARM based Genesi Smarttop unit which runs Ubuntu 10.10 and it
> has Gambas version 2. When Gambas starts up gbx2 runs, consumes all
> resources
> in a big loop. If I start with it in command line, I get no output -
> zip. No clues what
> could be going on. I left a message in their forum
> http://www.powerdeveloper.org/forums/viewtopic.php?t=2042
> but no response for some weeks now.
>
> So it looks like I have an excuse to go from being a big fan of Gambas
> to an even
> bigger fan and help debug :-)
>
> Bearing in mind this is ARM platform, and I don't know first thing about
> gamabas
> development, what is the first things I should do?
> Please be explicit with syntax for use of commands and parameters to be
> sent
> to get some debug messages and results, as I won't be able to
> second guess what is being suggested.
>
> I am familiar with C (skill rating 9/10), C++ (4/10), using gambas
> (8/10).
>
>
> Thanks.
>
> JM
>
Gambas 2 already runs some project on ARM, but two ARM computers are well-
known to be very different!
Go to the directory of the Gambas 2 project you want to run, and use the
debugger. Hit CTRL+C to stop it when it loops, and send me the backtrace.
$ cd /path/to/my/gambas/project
$ gdb gbx2
...
(gdb) run
...
^C
(gdb) bt
...
Please try to compile the latest version of gambas, and with debugging
information enabled. Try to compile with and without optimization too, to see
if something changes.
Regards,
--
Benoît Minisini
More information about the User
mailing list