aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2007-02-12 15:19:31 +0000
committerPierre Muller <muller@sourceware.org>2007-02-12 15:19:31 +0000
commitfe8e67fdbb13938cd4c8004dd024167d9fff3285 (patch)
treec0629bdbabc012c183498b0038d64703eac3a919 /gdb/dwarfread.c
parentc44537cf1694643086cb5a9c376a38e18816fc92 (diff)
downloadgdb-fe8e67fdbb13938cd4c8004dd024167d9fff3285.zip
gdb-fe8e67fdbb13938cd4c8004dd024167d9fff3285.tar.gz
gdb-fe8e67fdbb13938cd4c8004dd024167d9fff3285.tar.bz2
* Fix PR 2223. Recognize Pascal language marker in dwarf readers
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r--gdb/dwarfread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index 6171b1a..b7000e5 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -616,10 +616,12 @@ set_cu_language (struct dieinfo *dip)
case LANG_FORTRAN90:
cu_language = language_fortran;
break;
+ case LANG_PASCAL83:
+ cu_language = language_pascal;
+ break;
case LANG_ADA83:
case LANG_COBOL74:
case LANG_COBOL85:
- case LANG_PASCAL83:
/* We don't know anything special about these yet. */
cu_language = language_unknown;
break;