Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* New language support : Vala
@ 2009-02-07 14:07 Abderrahim KITOUNI
  2009-02-07 19:43 ` Tom Tromey
  0 siblings, 1 reply; 8+ messages in thread
From: Abderrahim KITOUNI @ 2009-02-07 14:07 UTC (permalink / raw)
  To: gdb-patches

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-14  7:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-07 14:07 New language support : Vala Abderrahim KITOUNI
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox