aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-05 05:54:31 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-05 05:54:31 +0000
commita752853e6e53b090ab92ff4e29e6efe2bbac28f9 (patch)
tree9c8be7739b1e789db5846edebb5151dd7daf71d8 /gdb/source.c
parentd7449b42d3ecdf244e2ba02be9aa58b503524272 (diff)
downloadfsf-binutils-gdb-a752853e6e53b090ab92ff4e29e6efe2bbac28f9.zip
fsf-binutils-gdb-a752853e6e53b090ab92ff4e29e6efe2bbac28f9.tar.gz
fsf-binutils-gdb-a752853e6e53b090ab92ff4e29e6efe2bbac28f9.tar.bz2
Remove obsolete MacOS support.
Diffstat (limited to 'gdb/source.c')
-rw-r--r--gdb/source.c37
1 files changed, 3 insertions, 34 deletions
diff --git a/gdb/source.c b/gdb/source.c
index dab794f..0f88ee7 100644
--- a/gdb/source.c
+++ b/gdb/source.c
@@ -1,6 +1,7 @@
/* List lines of source files for GDB, the GNU debugger.
- Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
- 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
+ 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+ Free Software Foundation, Inc.
This file is part of GDB.
@@ -626,22 +627,6 @@ done:
xfree (f);
}
}
- /* OBSOLETE #ifdef MPW */
- /* OBSOLETE This is a debugging hack that can go away when all combinations */
- /* OBSOLETE of Mac and Unix names are handled reasonably. */
- /* OBSOLETE { */
- /* OBSOLETE extern int debug_openp; */
- /* OBSOLETE */
- /* OBSOLETE if (debug_openp) */
- /* OBSOLETE { */
- /* OBSOLETE printf ("openp on %s, path %s mode %d prot %d\n returned %d", */
- /* OBSOLETE string, path, mode, prot, fd); */
- /* OBSOLETE if (*filename_opened) */
- /* OBSOLETE printf (" (filename is %s)", *filename_opened); */
- /* OBSOLETE printf ("\n"); */
- /* OBSOLETE } */
- /* OBSOLETE } */
- /* OBSOLETE #endif *//* MPW */
return fd;
}
@@ -727,22 +712,6 @@ open_source_file (struct symtab *s)
if (p != s->filename)
result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname);
}
- /* OBSOLETE #ifdef MPW */
- /* OBSOLETE if (result < 0) */
- /* OBSOLETE { */
- /* OBSOLETE *//* Didn't work. Try using just the MPW basename. */
- /* OBSOLETE p = (char *) mpw_basename (s->filename); */
- /* OBSOLETE if (p != s->filename) */
- /* OBSOLETE result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname); */
- /* OBSOLETE } */
- /* OBSOLETE if (result < 0) */
- /* OBSOLETE { */
- /* OBSOLETE *//* Didn't work. Try using the mixed Unix/MPW basename. */
- /* OBSOLETE p = (char *) mpw_mixed_basename (s->filename); */
- /* OBSOLETE if (p != s->filename) */
- /* OBSOLETE result = openp (path, 0, p, OPEN_MODE, 0, &s->fullname); */
- /* OBSOLETE } */
- /* OBSOLETE #endif MPW */
if (result >= 0)
{