This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH RFA] Pascal language part 4: Changes to symfile.c
- To: David Taylor <taylor at cygnus dot com>, Jim Blandy <jimb at cygnus dot com>, Elena Zannoni <ezannoni at cygnus dot com>
- Subject: [PATCH RFA] Pascal language part 4: Changes to symfile.c
- From: Pierre Muller <muller at cerbere dot u-strasbg dot fr>
- Date: Mon, 19 Jun 2000 12:22:58 +0200
- Cc: gdb-patches at sourceware dot cygnus dot com
This patch covers the changes to symfile.c
needed to incoporate pascal support into GDB.
ChangeLog entry:
2000-06-19 Muller Pierre <muller@ics.u-strasbg.fr>
* symbole.c: recognize ".pas" ".p" ".pp" and ".inc" as standard 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/19 10:22:21
***************
*** 1925,1930 ****
--- 1925,1934 ----
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);
+ add_filename_language (".inc", 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