From: Abderrahim KITOUNI <a.kitouni@gmail.com>
To: gdb-patches@sourceware.org
Subject: New language support : Vala
Date: Sat, 07 Feb 2009 14:07:00 -0000 [thread overview]
Message-ID: <3d6b0edb0902070607x29177016m48a40bd198b88f7e@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
Hi all,
Here is a patch I wrote last summer that adds support for a new language to gdb.
It's called Vala [1], it's a high level programming language (like C# or Java)
and compiles to GObject C.
Here is a brief changelog :
buildsym.c : deduce the language from filename (like f2c).
dwarf2read.c : use that information (it's only used for stabs right now).
c-lang.[ch] : make c_emit_char public.
eval.c : use current language's value_of_this to evaluate OP_THIS.
stack.c : don't print _tmp* variables in vala
symtab.c, gdbtypes.c, linespec.c, valops.c: add some vala logic.
defs.h, symfile.c : add the new language.
vala-lang.[ch], vala-print.c : new files.
I didn't write a parser, I just used the java one. The attached patch
is made with gdb 6.8
[1] http://live.gnome.org/Vala
Regards,
Abderrahim
P.S. I don't have a copyright assignment yet.
[-- Attachment #2: gdb-vala.patch.gz --]
[-- Type: application/x-gzip, Size: 10107 bytes --]
next reply other threads:[~2009-02-07 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-07 14:07 Abderrahim KITOUNI [this message]
2009-02-07 19:43 ` Tom Tromey
2009-02-09 13:05 ` Abderrahim KITOUNI
2009-02-19 8:29 ` Re : " Abderrahim KITOUNI
2009-02-24 19:58 ` Tom Tromey
2009-03-06 18:44 ` Abderrahim KITOUNI
2009-04-14 0:29 ` Tom Tromey
2009-04-14 7:21 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3d6b0edb0902070607x29177016m48a40bd198b88f7e@mail.gmail.com \
--to=a.kitouni@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox