From 22566fbd5b14838680980b9478c24e3aac161976 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 10 Mar 2008 14:01:56 +0000 Subject: [PATCH] 2008-03-10 Matt Rice * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f28f62af9a3..832d0ed7e88 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-03-10 Matt Rice + + * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC. + 2008-03-10 Hidetaka Takano * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index ecba9edfe76..af9585b8c80 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: -- 2.30.2