aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2000-06-21 09:59:51 +0000
committerPierre Muller <muller@sourceware.org>2000-06-21 09:59:51 +0000
commitc6fd39cde96acc35ee9424c5e007e0a45e3dd8ef (patch)
tree60fbaeb095ea3dfaad75896b9b493ce2cf012010 /gdb
parent78295804c33d4a1a86f9275c67930fbe9c8fbe28 (diff)
downloadgdb-c6fd39cde96acc35ee9424c5e007e0a45e3dd8ef.zip
gdb-c6fd39cde96acc35ee9424c5e007e0a45e3dd8ef.tar.gz
gdb-c6fd39cde96acc35ee9424c5e007e0a45e3dd8ef.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/symfile.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d9df8ad..2e83479 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
+ * defs.h: define language_pascal in language enumeration.
2000-06-19 J.T. Conklin <jtc@redback.com>
* remote-nindy.c (nindy_fetch_word, nindy_store_word): Removed
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 4ade9c3..580a08f 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1925,6 +1925,9 @@ init_filename_language_table ()
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);
}
}