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

Pierre Muller muller@cerbere.u-strasbg.fr
Wed Jun 21 03:00:00 GMT 2000

>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

  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
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

More information about the Gdb-patches mailing list