aboutsummaryrefslogtreecommitdiff
path: root/gdb/coffread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-31 18:54:28 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-31 18:54:28 +0000
commit0eed42deeea0a78b272402f77644be0239f5ffb6 (patch)
treefad58a204a79ecff3efce8c494c91280d14fe8fc /gdb/coffread.c
parent47f45d66367ac7895537b5c767d215c4661765cd (diff)
downloadgdb-0eed42deeea0a78b272402f77644be0239f5ffb6.zip
gdb-0eed42deeea0a78b272402f77644be0239f5ffb6.tar.gz
gdb-0eed42deeea0a78b272402f77644be0239f5ffb6.tar.bz2
* symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c: Change from using bfd target name to using the flavour.
Diffstat (limited to 'gdb/coffread.c')
-rw-r--r--gdb/coffread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/coffread.c b/gdb/coffread.c
index 102d752..26d60c1 100644
--- a/gdb/coffread.c
+++ b/gdb/coffread.c
@@ -2062,8 +2062,7 @@ coff_symfile_offsets (objfile, addr)
static struct sym_fns coff_sym_fns =
{
- "coff", /* sym_name: name or name prefix of BFD target type */
- 4, /* sym_namelen: number of significant sym_name chars */
+ bfd_target_coff_flavour,
coff_new_init, /* sym_new_init: init anything gbl to entire symtab */
coff_symfile_init, /* sym_init: read initial info, setup for sym_read() */
coff_symfile_read, /* sym_read: read a symbol file into symtab */