This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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:
gdb-vala.patch.gz
Description: GNU Zip compressed data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |