This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[RFA] Missed one place to search for /usr/share in gdbtk
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [RFA] Missed one place to search for /usr/share in gdbtk
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Fri, 9 Jun 2000 20:45:22 -0400
- Cc: spolk at cygnus dot com, fnasser at cygnus dot com
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\