Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@ges.redhat.com>
To: Joel Brobecker <brobecker@gnat.com>, Aidan Skinner <aidan@velvet.net>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] change knr function definitions in ada-lang.c, ada-typeprint.c, ada-valprint.c
Date: Thu, 25 Jul 2002 11:47:00 -0000	[thread overview]
Message-ID: <3D40398B.6050405@ges.redhat.com> (raw)
In-Reply-To: <20020725064127.GA683@gnat.com>

> Aidan,
> 
> 
>> 2002-07-24  Aidan Skinner <aidan@velvet.net>
>> 
>> 	* ada-lang.c: Change k&r style function definitions to prototyped
>> 	form.
>> 	* ada-typeprint.c: Change k&r style function definitions to prototyped
>> 	form.
>> 	* ada-valprint.c: Change k&r style function definitions to prototyped
>> 	form.
> 
> 
> I have a few minor comments, and I think I have also found a couple of
> little ooopsies.
> 
> | + value_from_contents_and_address (struct type* type, char* valaddr, CORE_ADDR address)
> 
> This line is more than 80 characters long. I don't know if this is a
> requirement in the GDB coding standards (did not find any mention of
> it in the GDB internal documentation), but I personally prefer it when
> long lines are broken up. Is there a consensus on this topic?

Such indentation is defined by the output of the script 
``gdb_indent.sh'' (if your wondering, gdb_indent.sh keeps things to less 
then 80 characters).

I think here Aidan did the right thing (minus what look like tipo's :-) 
by just fixing parameterizing.  A separate gdb_indent.sh commit can 
resolve any indentation problems.

Adian,

Thinking about where you're at, I think it makes sense for you to commit 
almost all the Makefile.in changes.  Just leave out the tweak that will 
cause a build to compile / link the ada*.c files.  I think this means 
everything (the dependency rules, the source file update, macro 
definitions) but the change adding the .o files to COMMON_OBS.

enjoy,
Andrew



  reply	other threads:[~2002-07-25 17:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-24 18:33 Aidan Skinner
2002-07-25  3:13 ` Joel Brobecker
2002-07-25 11:47   ` Andrew Cagney [this message]
2002-08-11 10:02     ` Aidan Skinner

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=3D40398B.6050405@ges.redhat.com \
    --to=ac131313@ges.redhat.com \
    --cc=aidan@velvet.net \
    --cc=brobecker@gnat.com \
    --cc=gdb-patches@sources.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