2008-03-10 Matt Rice <ratmice@gmail.com>
authorDaniel Jacobowitz <drow@false.org>
Mon, 10 Mar 2008 14:01:56 +0000 (14:01 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 10 Mar 2008 14:01:56 +0000 (14:01 +0000)
* dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.

gdb/ChangeLog
gdb/dwarf2read.c

index f28f62af9a3af744aeb69668668e63d440986cea..832d0ed7e881e690eb76ff6a1f8a451dc473eab0 100644 (file)
@@ -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
index ecba9edfe76006ce188cef3fa98956216f4e68d8..af9585b8c8079ee2761046f21e61e7ddeb722ec7 100644 (file)
@@ -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: