This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] remove a bit of apollo cruft


This is just a bit of cleanup.  The apollo target was removed
in gdb 6.0.

Testing: gdb builds and "break main; run" works.

I noticed this because I was looking at pr gdb/112 and saw this nearby.

I am committing this as an obvious fix.

Michael C

2003-08-17  Michael Chastain  <mec@shout.net>

	* symfile.c (find_sym_fns): Remove special case for apollo target.

Index: symfile.c
===================================================================
RCS file: /cvs/src/src/gdb/symfile.c,v
retrieving revision 1.101
diff -c -3 -p -r1.101 symfile.c
*** symfile.c	27 Jun 2003 13:11:17 -0000	1.101
--- symfile.c	17 Aug 2003 22:25:18 -0000
*************** find_sym_fns (struct objfile *objfile)
*** 1377,1386 ****
        || our_flavour == bfd_target_tekhex_flavour)
      return;	/* No symbols. */
  
-   /* Special kludge for apollo.  See dstread.c.  */
-   if (STREQN (our_target, "apollo", 6))
-     our_flavour = (enum bfd_flavour) -2;
- 
    for (sf = symtab_fns; sf != NULL; sf = sf->next)
      {
        if (our_flavour == sf->sym_flavour)
--- 1377,1382 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]