aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAdam Fedor <fedor@gnu.org>2002-10-15 02:42:32 +0000
committerAdam Fedor <fedor@gnu.org>2002-10-15 02:42:32 +0000
commitda2cf7e093e15844a971f772bde45b4b486e355b (patch)
tree6437f72a27ae9ad590a745651888d94a21300c81 /gdb
parent3ca4bdc3521cd3d5f72ecc41056e6ae3c6cc39e7 (diff)
downloadgdb-da2cf7e093e15844a971f772bde45b4b486e355b.zip
gdb-da2cf7e093e15844a971f772bde45b4b486e355b.tar.gz
gdb-da2cf7e093e15844a971f772bde45b4b486e355b.tar.bz2
(init_filename_language_table): Add ObjC file extension.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symfile.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9203109..e29e038 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-10-14 Adam Fedor <fedor@gnu.org>
+ * symfile.c (init_filename_language_table): Add ObjC file extension.
+
+2002-10-14 Adam Fedor <fedor@gnu.org>
+
* utils.c (puts_filtered_tabular): New function.
(fprintf_symbol_filtered): Get ObjC demangled name.
* defs.h (puts_filtered_tabular): Declared.
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 66bbf71..6b702a3 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1952,6 +1952,7 @@ init_filename_language_table (void)
/* OBSOLETE add_filename_language (".ch", language_chill); */
/* OBSOLETE add_filename_language (".c186", language_chill); */
/* OBSOLETE add_filename_language (".c286", language_chill); */
+ add_filename_language (".m", language_objc);
add_filename_language (".f", language_fortran);
add_filename_language (".F", language_fortran);
add_filename_language (".s", language_asm);