This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] fix indentation in dbxread.c
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Tue, 8 Jan 2008 09:00:52 -0800 (PST)
- Subject: [RFA] fix indentation in dbxread.c
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