Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [RFA] fix indentation in dbxread.c
Date: Tue, 08 Jan 2008 17:01:00 -0000	[thread overview]
Message-ID: <20080108170052.6C1741C7B01@localhost> (raw)

Ok to check in?  These `if's are hard to read.

And for future reference, is it OK if these are just fixed and reported under
the "obvious" rule?

2008-01-08  Doug Evans  <dje@google.com>

	* dbxread.c (read_dbx_symtab): Fix indentation.

Index: dbxread.c
===================================================================
RCS file: /cvs/src/src/gdb/dbxread.c,v
retrieving revision 1.90
diff -u -p -u -p -r1.90 dbxread.c
--- dbxread.c	19 Oct 2007 12:26:31 -0000	1.90
+++ dbxread.c	8 Jan 2008 16:50:03 -0000
@@ -1551,7 +1551,7 @@ read_dbx_symtab (struct objfile *objfile
 	    if (tmp_language != language_unknown
 		&& (tmp_language != language_c
 		    || psymtab_language != language_cplus))
-	    psymtab_language = tmp_language;
+	      psymtab_language = tmp_language;
 
 	    if (pst == NULL)
 	    {
@@ -1584,7 +1584,7 @@ read_dbx_symtab (struct objfile *objfile
 	    if (tmp_language != language_unknown
 		&& (tmp_language != language_c
 		    || psymtab_language != language_cplus))
-	    psymtab_language = tmp_language;
+	      psymtab_language = tmp_language;
 
 	    /* In C++, one may expect the same filename to come round many
 	       times, when code is coming alternately from the main file


             reply	other threads:[~2008-01-08 17:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 17:01 Doug Evans [this message]
2008-01-08 17:05 ` Joel Brobecker
2008-01-08 17:16   ` Doug Evans
2008-01-08 17:07 ` Daniel Jacobowitz

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=20080108170052.6C1741C7B01@localhost \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    /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