* Fix spelling error in psim
@ 2014-08-20 22:45 Joel Sherrill
2014-08-21 0:10 ` Doug Evans
2014-08-21 1:13 ` Mike Frysinger
0 siblings, 2 replies; 8+ messages in thread
From: Joel Sherrill @ 2014-08-20 22:45 UTC (permalink / raw)
To: gdb-patches
Hi
OK to commit as obvious?
2014-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* ppc-instructions: Fix spelling error.
diff --git a/sim/ppc/ppc-instructions b/sim/ppc/ppc-instructions
index 1b8fd89..1a2e51a 100644
--- a/sim/ppc/ppc-instructions
+++ b/sim/ppc/ppc-instructions
@@ -3355,7 +3355,7 @@ void::function::invalid_zero_divide_operation:cpu
*proces
spreg new_val = (spr_length(n) == 64
? *rS
: MASKED(*rS, 32, 63));
- /* HACK - time base registers need to be updated immediatly */
+ /* HACK - time base registers need to be updated immediately */
if (WITH_TIME_BASE) {
switch (n) {
case spr_tbu:
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Fix spelling error in psim
2014-08-20 22:45 Fix spelling error in psim Joel Sherrill
@ 2014-08-21 0:10 ` Doug Evans
2014-08-21 1:14 ` Mike Frysinger
2014-08-21 1:13 ` Mike Frysinger
1 sibling, 1 reply; 8+ messages in thread
From: Doug Evans @ 2014-08-21 0:10 UTC (permalink / raw)
To: Joel Sherrill; +Cc: gdb-patches
On Wed, Aug 20, 2014 at 3:45 PM, Joel Sherrill
<joel.sherrill@oarcorp.com> wrote:
>
> Hi
>
> OK to commit as obvious?
>
> 2014-08-21 Joel Sherrill <joel.sherrill@oarcorp.com>
>
> * ppc-instructions: Fix spelling error.
>
> diff --git a/sim/ppc/ppc-instructions b/sim/ppc/ppc-instructions
> index 1b8fd89..1a2e51a 100644
> --- a/sim/ppc/ppc-instructions
> +++ b/sim/ppc/ppc-instructions
> @@ -3355,7 +3355,7 @@ void::function::invalid_zero_divide_operation:cpu
> *proces
> spreg new_val = (spr_length(n) == 64
> ? *rS
> : MASKED(*rS, 32, 63));
> - /* HACK - time base registers need to be updated immediatly */
> + /* HACK - time base registers need to be updated immediately */
> if (WITH_TIME_BASE) {
> switch (n) {
> case spr_tbu:
Yep.
[If this were gdb one might want a "." followed by two spaces here,
but this isn't gdb. Lucky you. :-)]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Fix spelling error in psim
2014-08-21 0:10 ` Doug Evans
@ 2014-08-21 1:14 ` Mike Frysinger
2014-08-21 7:15 ` Joel Brobecker
0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2014-08-21 1:14 UTC (permalink / raw)
To: gdb-patches; +Cc: Doug Evans, Joel Sherrill
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
On Wed 20 Aug 2014 17:10:36 Doug Evans wrote:
> [If this were gdb one might want a "." followed by two spaces here,
> but this isn't gdb. Lucky you. :-)]
that's enforced in new code (which psim is anything but). i'd have no problem
if someone felt like going through and cleaning that particular issue up in
the whole code base.
sim should be following GNU style conventions. i dislike them, but it's part
of a larger GNU project, so deviating anyways would be bad form :).
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fix spelling error in psim
2014-08-21 1:14 ` Mike Frysinger
@ 2014-08-21 7:15 ` Joel Brobecker
2014-08-21 8:12 ` Mike Frysinger
2014-08-21 13:46 ` Joel Sherrill
0 siblings, 2 replies; 8+ messages in thread
From: Joel Brobecker @ 2014-08-21 7:15 UTC (permalink / raw)
To: Mike Frysinger; +Cc: gdb-patches, Doug Evans, Joel Sherrill
> > [If this were gdb one might want a "." followed by two spaces here,
> > but this isn't gdb. Lucky you. :-)]
>
> that's enforced in new code (which psim is anything but). i'd have no
> problem if someone felt like going through and cleaning that
> particular issue up in the whole code base.
>
> sim should be following GNU style conventions. i dislike them, but
> it's part of a larger GNU project, so deviating anyways would be bad
> form :).
Interestingly, I have always considered sim to be part of the GDB
project, and therefore under GDB coding style.
--
Joel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fix spelling error in psim
2014-08-21 7:15 ` Joel Brobecker
@ 2014-08-21 8:12 ` Mike Frysinger
2014-08-21 13:46 ` Joel Sherrill
1 sibling, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2014-08-21 8:12 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches, Doug Evans, Joel Sherrill
[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]
On Thu 21 Aug 2014 09:15:35 Joel Brobecker wrote:
> > > [If this were gdb one might want a "." followed by two spaces here,
> > > but this isn't gdb. Lucky you. :-)]
> >
> > that's enforced in new code (which psim is anything but). i'd have no
> > problem if someone felt like going through and cleaning that
> > particular issue up in the whole code base.
> >
> > sim should be following GNU style conventions. i dislike them, but
> > it's part of a larger GNU project, so deviating anyways would be bad
> > form :).
>
> Interestingly, I have always considered sim to be part of the GDB
> project, and therefore under GDB coding style.
aren't they the same thing ? i guess let's see.
gdb/CONTRIBUTE says:
o Coding Standards
All contributions must conform to the GNU Coding Standard.
Submissions which do not conform to the standards will be
returned with a request to reformat the changes.
which is what i thought ... but then there's this follow up:
GDB has certain additional coding requirements. Those
requirements are explained in the GDB internals documentation
in the gdb/doc directory.
except there's no gdbint.texinfo anymore. let's check the website:
https://www.gnu.org/software/gdb/documentation/
GDB Internals Manual (wiki only)
https://sourceware.org/gdb/wiki/InternalsManual
https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards
ok, i guess there's a few more rules here. having the sim follow those is
fine.
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Fix spelling error in psim
2014-08-21 7:15 ` Joel Brobecker
2014-08-21 8:12 ` Mike Frysinger
@ 2014-08-21 13:46 ` Joel Sherrill
2014-08-27 6:08 ` Joel Brobecker
1 sibling, 1 reply; 8+ messages in thread
From: Joel Sherrill @ 2014-08-21 13:46 UTC (permalink / raw)
To: Joel Brobecker, Mike Frysinger; +Cc: gdb-patches, Doug Evans
On 8/21/2014 2:15 AM, Joel Brobecker wrote:
>>> [If this were gdb one might want a "." followed by two spaces here,
>>> but this isn't gdb. Lucky you. :-)]
>> that's enforced in new code (which psim is anything but). i'd have no
>> problem if someone felt like going through and cleaning that
>> particular issue up in the whole code base.
>>
>> sim should be following GNU style conventions. i dislike them, but
>> it's part of a larger GNU project, so deviating anyways would be bad
>> form :).
> Interestingly, I have always considered sim to be part of the GDB
> project, and therefore under GDB coding style.
>
Let me fix the spelling issues first. Is that OK?
I am not opposed to fixing the style issues but really don't have to get
sucked into them right now.
Can uncrustify or some other tool help?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fix spelling error in psim
2014-08-21 13:46 ` Joel Sherrill
@ 2014-08-27 6:08 ` Joel Brobecker
0 siblings, 0 replies; 8+ messages in thread
From: Joel Brobecker @ 2014-08-27 6:08 UTC (permalink / raw)
To: Joel Sherrill; +Cc: Mike Frysinger, gdb-patches, Doug Evans
> Let me fix the spelling issues first. Is that OK?
>
> I am not opposed to fixing the style issues but really don't have to get
> sucked into them right now.
That would be absolutely fine. The fact that you are improving
one area does not mean that you are then responsible for making
that particular area perfect.
--
Joel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Fix spelling error in psim
2014-08-20 22:45 Fix spelling error in psim Joel Sherrill
2014-08-21 0:10 ` Doug Evans
@ 2014-08-21 1:13 ` Mike Frysinger
1 sibling, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2014-08-21 1:13 UTC (permalink / raw)
To: gdb-patches; +Cc: Joel Sherrill
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
On Wed 20 Aug 2014 17:45:33 Joel Sherrill wrote:
> OK to commit as obvious?
certainly. i'd point out that `git grep immediatly` shows a bunch more hits
too :).
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2014-08-27 6:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-20 22:45 Fix spelling error in psim Joel Sherrill
2014-08-21 0:10 ` Doug Evans
2014-08-21 1:14 ` Mike Frysinger
2014-08-21 7:15 ` Joel Brobecker
2014-08-21 8:12 ` Mike Frysinger
2014-08-21 13:46 ` Joel Sherrill
2014-08-27 6:08 ` Joel Brobecker
2014-08-21 1:13 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox