aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.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/dwarf2read.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/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 3c61f9a..4d62926 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -6325,9 +6325,11 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
case DW_LANG_Modula2:
cu->language = language_m2;
break;
+ case DW_LANG_Pascal83:
+ cu->language = language_pascal;
+ break;
case DW_LANG_Cobol74:
case DW_LANG_Cobol85:
- case DW_LANG_Pascal83:
default:
cu->language = language_minimal;
break;