This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH RFA] Pascal language part 4: Changes to symfile.c: commited


>This table is used for deriving the language from the compilation
>unit's main source file.  Unless people compile .inc files separately,
>.inc shouldn't appear here.

  OK, I thought it was based on the current file extension,
I then of course completely agree that .inc should not be included.

>If you remove .inc from the list, and then discover you have problems,
>please let us know.
>
>This change is approved, assuming Mark's and my suggestions are
>followed.

  Thus I commited the following:

ChangeLog entry:

2000-06-21  Pierre Muller  <muller@ics.u-strasbg.fr>
   * symfile.c (init_filename_language_table): add ".pas", ".p" and ".pp"
   as pascal source file extensions.

Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.14
diff -c -r1.14 symfile.c
*** symfile.c	2000/06/16 21:02:21	1.14
--- symfile.c	2000/06/21 09:56:46
***************
*** 1925,1930 ****
--- 1925,1933 ----
        add_filename_language (".F", language_fortran);
        add_filename_language (".s", language_asm);
        add_filename_language (".S", language_asm);
+       add_filename_language (".pas", language_pascal);
+       add_filename_language (".p", language_pascal);
+       add_filename_language (".pp", language_pascal);
      }
  }
  
 


Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]