Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Abderrahim KITOUNI <a.kitouni@gmail.com>
To: tromey@redhat.com
Cc: gdb-patches@sourceware.org
Subject: Re: New language support : Vala
Date: Mon, 09 Feb 2009 13:05:00 -0000	[thread overview]
Message-ID: <3d6b0edb0902090505m6bcb142crab53b0f860535ff4@mail.gmail.com> (raw)
In-Reply-To: <m3wsc22fuv.fsf@fleche.redhat.com>

2009/2/7 Tom Tromey <tromey@redhat.com>:
> I took a quick look through the patch and there are definitely things
> in there that won't apply today.  So, I suggest updating to CVS gdb
> and resubmitting.
I'll try to do it.
>
> Also, I noticed a fair amount of code not conforming to GNU standards
> -- missing spaces, spaces in the wrong places, comments that are not
> full sentences; IOW, the usual sorts of nits.  This will all come up
> in any eventual review, so I'd recommend taking a stab at fixing these
> beforehand.
I'll try to see (I thought it was ok).
>
> Any new file needs a copyright header.
I didn't know what to put in, I've sent it for a preliminary review.
>
> All new functions ought to have an introductory comment explaining
> their purpose, arguments, and return value.
ok
>
> For the stack.c change, I suggest a new language function that returns
> true if the symbol ought to be printed.  Other languages can always
> return 1.
I just didn't want to do big changes.
>
> I'm also not so sure about the valops.c change or the gdbtypes.c
> change.  In general I think explicit checks of the current language
> ought to be avoided in generic code.
OK, I'll try to put these in separate changes (eventually adding
functions to language definitions)
>
> I wonder whether some of this is better done in Python.  For instance,
> perhaps specialized value-printing stuff could be done using a Python
> pretty-printer.  (This code isn't in gdb CVS yet, but is coming
> soon... and you can use it today by checking out from Archer.)  My
> thinking here is that this might benefit all glib users, not just
> Vala.  But this is just an idea, I won't insist on it.
Maybe.
>
> Alternatively, I wonder whether some of the generic changes could be
> made unnecessary by having a real Vala parser.
I don't think so, but I'll try to minimize them.
I'll try to break the patch up into several little patches, that will
ease reviewing.

Regards,
Abderrahim


  reply	other threads:[~2009-02-09 13:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 14:07 Abderrahim KITOUNI
2009-02-07 19:43 ` Tom Tromey
2009-02-09 13:05   ` Abderrahim KITOUNI [this message]
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=3d6b0edb0902090505m6bcb142crab53b0f860535ff4@mail.gmail.com \
    --to=a.kitouni@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@redhat.com \
    /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