aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f28f62a..832d0ed 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2008-03-10 Matt Rice <ratmice@gmail.com>
+
+ * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
+
2008-03-10 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
* spu-tdep.c (info_spu_event_command): Insert a '\0' to the end
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: