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]

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


This looks good.

At 08:45 PM 6/9/00 -0400, Chris Faylor wrote:
>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\

Syd Polk		spolk@redhat.com
Engineering Manager	+1 415 777 9810 x 241
Red Hat, Inc.




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