aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-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: