This is the mail archive of the gdb-patches@sourceware.cygnus.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]

[RFA] Missed one place to search for /usr/share in gdbtk


I don't know how I missed this one but *today* I need an additional patch
to get gdbtk working.

Ok to check in?

cgf

Fri Jun  9 20:43:40 2000  Christopher Faylor <cgf@cygnus.com>

        * src/paths.c (initialize_paths): Look in /usr/share for stuff.


Index: src/paths.c
===================================================================
RCS file: /cvs/src/src/libgui/src/paths.c,v
retrieving revision 1.2
diff -u -p -r1.2 paths.c
--- paths.c	2000/04/03 19:34:38	1.2
+++ paths.c	2000/06/10 00:43:30
@@ -68,6 +68,9 @@ proc initialize_paths {} {\n\
   }\n\
   cd [file dirname $exec_name]\n\
   # Handle build with --exec-prefix and build without.\n\
+  set d [file join [file dirname [pwd]] usr share]\n\
+  lappend prefdirs $d\n\
+  lappend guidirs [file join $d cygnus gui]\n\
   set d [file join [file dirname [pwd]] share]\n\
   lappend prefdirs $d\n\
   lappend guidirs [file join $d cygnus gui]\n\

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