gdbserver in snappy on beaglebone black

Michael Nelson michael.nelson at canonical.com
Mon May 18 22:30:10 UTC 2015


On Tue, May 19, 2015 at 7:26 AM, Hans Mayer <hans.mayer at free.fr> wrote:
> Hello Loic, Gabor et al.
>
> as I have seen in the links given by Gabor and also in the subject "DHCPD
> server Snap App", there is a real need of a possibility to integrate
> debian packages of well distributed applications into snappy.
>
> Off-course it is a good think (at least for me) to integrate gdbserver into
> snappy image by default.
> But other developers will ask you to add other development tools.
> Specially today, where many developers will start working on snappy.
>
> For me the real solution is a functionality "snappy import
> <packagename>.deb" to import existing (ubuntu desktop) applications in the
> same way as "sudo apt-get install ...".
>
> Or if this is not possible, creating an ubuntu desktop application "convert
> debian package to snappy click package" including all package dependencies
> to generate automatically (!) the click package.

Michael Terry's deb2snap may be what you're after:

https://launchpad.net/deb2snap

The README does say it bundles all the dependencies, but also allows
you to selectively add/remove depending on your needs:

https://github.com/mikix/deb2snap/blob/master/README.md




>
> I have created bug #1456340 in launchpad.
>
> Best regards
> Hans Mayer
>
> On 18/05/2015 13:57, Loïc Minier wrote:
>
> That's a good point, we should install gdbserver by default or have it in
> an easy to use snap; I've heard it multiple times that it's hard to
> gdb/strace/etc. when you have an issue with a snap.
>
> Would you file a bug against ubuntu-snappy to track this?
>
> Thanks!
>
> On Fri, May 8, 2015 at 10:52 AM, Hans Mayer <hans.mayer at free.fr> wrote:
>
> Hello,
>
> I installed the ubuntu snappy image on a beaglebone back as described in
> http://developer.ubuntu.com/en/snappy/start/#try-beaglebone
>
> I want to develop/debug a application with Eclipse/CDT and the Remote
> Systems Debug as described in
>
> http://derekmolloy.ie/beaglebone/setting-up-eclipse-on-the-beaglebone-for-c-development
>
> When starting debug session, eclipse is reporting an error that it "Could
> not start gdbserver on the remote host" (beaglebone).
>
> I presume that gdbserver is not inside the snappy image?
>
> Since apt-get install gdbserver does not work, I tried snappy install
> gdbserver, but there is no snappy image.
>
> Can someone explain how to do? Or is there any documentation?
> (http://manpages.ubuntu.com/manpages/gutsy/man1/gdbserver.1.html does not
> cover snappy)
>
> Thanks
>
> --
> Best regards
> Hans Mayer
>
>
> --
> snappy-app-devel mailing list
> snappy-app-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
>
>
> --
> Best regards
> Hans Mayer
>
>
> --
> snappy-app-devel mailing list
> snappy-app-devel at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snappy-app-devel
>



More information about the snappy-app-devel mailing list