aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-03-10 14:01:56 +0000
committerDaniel Jacobowitz <drow@false.org>2008-03-10 14:01:56 +0000
commit22566fbd5b14838680980b9478c24e3aac161976 (patch)
tree0c0ad9aa8d4011880bcd69cab3890372a49168a6 /gdb/dwarf2read.c
parent9971ac47821cb9165226be0c520fc5388cbc97fc (diff)
downloadgdb-22566fbd5b14838680980b9478c24e3aac161976.zip
gdb-22566fbd5b14838680980b9478c24e3aac161976.tar.gz
gdb-22566fbd5b14838680980b9478c24e3aac161976.tar.bz2
2008-03-10 Matt Rice <ratmice@gmail.com>
* dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index ecba9ed..af9585b 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -6494,6 +6494,9 @@ set_cu_language (unsigned int lang, struct dwarf2_cu *cu)
case DW_LANG_Pascal83:
cu->language = language_pascal;
break;
+ case DW_LANG_ObjC:
+ cu->language = language_objc;
+ break;
case DW_LANG_Cobol74:
case DW_LANG_Cobol85:
default: