From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,27200915cbff176 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-22 15:13:31 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!easynet-monga!easynet.net!proxad.net!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Problem with C function pointers Date: 22 Dec 2003 18:10:41 -0500 Organization: Cuivre, Argent, Or Message-ID: References: <963c4dec.0312191413.15c9cb08@posting.google.com> <963c4dec.0312210506.27b8f4e1@posting.google.com> <963c4dec.0312220137.6641e5b6@posting.google.com> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1072134656 96805 80.67.180.195 (22 Dec 2003 23:10:56 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Mon, 22 Dec 2003 23:10:56 +0000 (UTC) Cc: comp.lang.ada@ada-france.org To: skibochka@yahoo.com (Andrew Skiba) Return-Path: In-Reply-To: <963c4dec.0312220137.6641e5b6@posting.google.com> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:3723 Date: 2003-12-22T18:10:41-05:00 skibochka@yahoo.com (Andrew Skiba) writes: > > > > Have you tried running under gdb, and examining "thiz"? > > > No, I printed it instead :-) It was "null", as you said. > > > > Learn gdb; it's much better than Put_Line. > I use it for a very long time, may be you heard, that it works for C, > too :) The problem is, DirectFB has issues with debugging on the same > monitor, because it OBVIOUSLY (:-) has exclusive control of the video > card. Usually they are debugging via ssh, or a com-port. For simple > cases put_line isn't that bad. Ok, that makes sense. But it might be worth setting up a serial line terminal so you can run gdb for DirectFB programs. > > Hmm. So it _doesn't_ run under X Windows? > Did I say that? Of course, it runs under X Windows. Try tuxrunner > game for an example what it is. And, there is http://directfb.org/ > to find other cute projects. Well now I'm confused. If DirectXB runs under X Windows, why can't you run gdb in one window, with DirectXB in another? > > Now we have a third target for GtkAda :). > Sorry, I did not understand that joke. If you meant to run GTK on > DirectFB, that's done already, as well as mplayer, SDL, FreeVO and so > on. I need it for a project, similar to FreeVO. Ok. Have you tried GtkAda? I'm not sure it's a given that if Gtk works, GtkAda works. That would be nice to know. -- -- Stephe