This is the mail archive of the cygwin mailing list for the Cygwin 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]

Fw: GDB (no debugging symbols found)


Dont know if I sent this message to the right place
----- Original Message -----
From: "bytemaster1" <bytemaster1@verizon.net>
To: "Dave Korn" <dave.korn@artimi.com>
Sent: Monday, January 03, 2005 6:56 PM
Subject: Re: GDB (no debugging symbols found)


> Dave Korn wrote:
>
> >>-----Original Message-----
> >>From: cygwin-owner On Behalf Of bytemaster1
> >>Sent: 03 January 2005 19:31
> >>
> >>
> >
> >
> >
> >>TO all,
> >>
> >>I ported my code to Windows XP I was able to debug under Linux Red hat
> >>however under Cygwin I am having a problem invoking GDB even
> >>tough I compile with the -g option
> >>
> >>
> >
> >
> >
> >
> >>bash: [: /home/Joe: binary operator expected
> >>
> >>
> >
> >
> > Looks like it's having a hard time getting at your .gdbinit (or
whatever) file
> >because you've got a space in the path to your HOME dir.  Check the
various FAQ
> >entries and mailinglist discussions on the subject.
> >
> >
> >    cheers,
> >      DaveK
> >
> >
> Thankx for your help
> I took the following steps as per
>
> Looked at the FAQ     found that home directory is in /etc/passwd I
> found 3 references to my home directories Joe Reichman took out the
> space and made it Joereichman
> Next I looked at .gdbinit file in my /usr/src/binutils.../gprof
>  Directory looked at the contents it had dir ..   I thought this was
> refernce the directory where my source files were located so I changed
> it to  dir /mnt/maxtor    (my source file directory)
>
>   Still got (no debugging symbols found)
>
> Next step I thought was rebuliding gdb it was dated 200309  forgot the day
> Anyway I got the following errors  (in the attachment)
>
>    You think this is the problem???
>
>           Thankx in advance
>


----------------------------------------------------------------------------
----


> touch s-init
> /chew.exe -f ./doc.str <./../hash.c >hash.tmp
> /../../move-if-change hash.tmp hash.texi
> touch s-hash
> /chew.exe -f ./doc.str <./../linker.c >linker.tmp
> /../../move-if-change linker.tmp linker.texi
> touch s-linker
> /chew.exe -f ./doc.str <./../mmo.c >mmo.tmp
> /../../move-if-change mmo.tmp mmo.texi
> touch s-mmo
> makeinfo --split-size=5000000 -I . bfd.texinfo
> /bin/sh ../../mkinstalldirs /usr/local/info
> mkdir -p -- /usr/local/info
>  /usr/bin/install -c -m 644 ./bfd.info /usr/local/info/bfd.info
>  install-info --info-dir=/usr/local/info /usr/local/info/bfd.info
> make[2]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd/doc'
> Making install in po
> make[2]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd/po'
> if test -r ./../../mkinstalldirs; then \
>   ./../../mkinstalldirs /usr/local/share; \
> else \
>   ../mkinstalldirs /usr/local/share; \
> fi
> mkdir -p -- /usr/local/share/locale/fr/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/fr': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/fr/LC_MESS
> AGES/bfd.mo': No such file or directory
> installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/bfd.mo
> mkdir -p -- /usr/local/share/locale/tr/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/tr': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/tr/LC_MESS
> AGES/bfd.mo': No such file or directory
> installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/bfd.mo
> mkdir -p -- /usr/local/share/locale/ja/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/ja': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/ja/LC_MESS
> AGES/bfd.mo': No such file or directory
> installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/bfd.mo
> mkdir -p -- /usr/local/share/locale/es/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/es': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/es/LC_MESS
> AGES/bfd.mo': No such file or directory
> installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/bfd.mo
> mkdir -p -- /usr/local/share/locale/sv/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/sv': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/sv/LC_MESS
> AGES/bfd.mo': No such file or directory
> installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/bfd.mo
> mkdir -p -- /usr/local/share/locale/da/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/da': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/da/LC_MESS
> AGES/bfd.mo': No such file or directory
> installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/bfd.mo
> mkdir -p -- /usr/local/share/locale/zh_CN/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/zh_CN': Permission
denie
> d
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/zh_CN/LC_M
> ESSAGES/bfd.mo': No such file or directory
> installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/bfd.mo
> if test "bfd" = "gettext"; then \
>   if test -r ./../../mkinstalldirs; then \
>     ./../../mkinstalldirs /usr/local/share/gettext/po; \
>   else \
>     ../mkinstalldirs /usr/local/share/gettext/po; \
>   fi; \
>   /usr/bin/install -c -m 644 ./Makefile.in.in \
>                   /usr/local/share/gettext/po/Makefile.in.in; \
> else \
>   : ; \
> fi
> make[2]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd/po'
> make[2]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd'
> make[3]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd'
> make[3]: Nothing to be done for `install-exec-am'.
> /bin/sh ./../mkinstalldirs /usr/local/lib
> /bin/sh ./../mkinstalldirs /usr/local/include
> mkdir -p -- /usr/local/include
> /bin/sh ./libtool  --mode=install /usr/bin/install -c libbfd.la
/usr/local/lib/l
> ibbfd.la
> /usr/bin/install -c .libs/libbfd.lai /usr/local/lib/libbfd.la
> /usr/bin/install -c .libs/libbfd.a /usr/local/lib/libbfd.a
> ranlib /usr/local/lib/libbfd.a
> chmod 644 /usr/local/lib/libbfd.a
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> /usr/bin/install -c -m 644 bfd.h /usr/local/include/bfd.h
> /usr/bin/install -c -m 644 ./../include/ansidecl.h
/usr/local/include/ansidecl.h
>
> /usr/bin/install -c -m 644 ./../include/symcat.h
/usr/local/include/symcat.h
> /usr/bin/install -c -m 644 ./../include/bfdlink.h
/usr/local/include/bfdlink.h
> make[3]: Leaving directory `/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd'
> make[2]: Leaving directory `/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd'
> make[1]: Leaving directory `/cygdrive/k/cygwin/usr/src/gdb-20030919-1/bfd'
> make[1]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes'
> Making install in po
> make[2]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes/p
> o'
> if test -r ./../../mkinstalldirs; then \
>   ./../../mkinstalldirs /usr/local/share; \
> else \
>   ../mkinstalldirs /usr/local/share; \
> fi
> mkdir -p -- /usr/local/share/locale/fr/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/fr': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/fr/LC_MESS
> AGES/opcodes.mo': No such file or directory
> installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/opcodes.mo
> mkdir -p -- /usr/local/share/locale/sv/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/sv': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/sv/LC_MESS
> AGES/opcodes.mo': No such file or directory
> installing sv.gmo as /usr/local/share/locale/sv/LC_MESSAGES/opcodes.mo
> mkdir -p -- /usr/local/share/locale/tr/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/tr': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/tr/LC_MESS
> AGES/opcodes.mo': No such file or directory
> installing tr.gmo as /usr/local/share/locale/tr/LC_MESSAGES/opcodes.mo
> mkdir -p -- /usr/local/share/locale/es/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/es': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/es/LC_MESS
> AGES/opcodes.mo': No such file or directory
> installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/opcodes.mo
> mkdir -p -- /usr/local/share/locale/da/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/da': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/da/LC_MESS
> AGES/opcodes.mo': No such file or directory
> installing da.gmo as /usr/local/share/locale/da/LC_MESSAGES/opcodes.mo
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/de/LC_MESS
> AGES/opcodes.mo': Permission denied
> installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/opcodes.mo
> mkdir -p -- /usr/local/share/locale/id/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/id': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/id/LC_MESS
> AGES/opcodes.mo': No such file or directory
> installing id.gmo as /usr/local/share/locale/id/LC_MESSAGES/opcodes.mo
> mkdir -p -- /usr/local/share/locale/pt_BR/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/pt_BR': Permission
denie
> d
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/pt_BR/LC_M
> ESSAGES/opcodes.mo': No such file or directory
> installing pt_BR.gmo as
/usr/local/share/locale/pt_BR/LC_MESSAGES/opcodes.mo
> mkdir -p -- /usr/local/share/locale/ro/LC_MESSAGES
> mkdir: cannot create directory `/usr/local/share/locale/ro': Permission
denied
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/ro/LC_MESS
> AGES/opcodes.mo': No such file or directory
> installing ro.gmo as /usr/local/share/locale/ro/LC_MESSAGES/opcodes.mo
> /usr/bin/install: cannot create regular file
`/usr/local/share/locale/nl/LC_MESS
> AGES/opcodes.mo': Permission denied
> installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/opcodes.mo
> if test "opcodes" = "gettext"; then \
>   if test -r ./../../mkinstalldirs; then \
>     ./../../mkinstalldirs /usr/local/share/gettext/po; \
>   else \
>     ../mkinstalldirs /usr/local/share/gettext/po; \
>   fi; \
>   /usr/bin/install -c -m 644 ./Makefile.in.in \
>                   /usr/local/share/gettext/po/Makefile.in.in; \
> else \
>   : ; \
> fi
> make[2]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes/po
> '
> make[2]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes'
> make[3]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes'
> make[3]: Nothing to be done for `install-exec-am'.
> /bin/sh ./../mkinstalldirs /usr/local/lib
> /bin/sh ./../mkinstalldirs /usr/local/include
> /bin/sh ./libtool  --mode=install /usr/bin/install -c libopcodes.la
/usr/local/l
> ib/libopcodes.la
> /usr/bin/install -c .libs/libopcodes.lai /usr/local/lib/libopcodes.la
> /usr/bin/install -c .libs/libopcodes.a /usr/local/lib/libopcodes.a
> ranlib /usr/local/lib/libopcodes.a
> chmod 644 /usr/local/lib/libopcodes.a
> ----------------------------------------------------------------------
> Libraries have been installed in:
>    /usr/local/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
>    - add LIBDIR to the `PATH' environment variable
>      during execution
>    - add LIBDIR to the `LD_RUN_PATH' environment variable
>      during linking
>    - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> /usr/bin/install -c -m 644 ./../include/dis-asm.h
/usr/local/include/dis-asm.h
> make[3]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes'
> make[2]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes'
> make[1]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/opcodes'
> make[1]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/etc'
> for f in standards.info configure.info; do \
>   if test -f ./`echo $f | sed -e 's/.info$/.texi/'`; then \
>     if make "MAKEINFO=makeinfo --split-size=5000000" $f; then \
>       true; \
>     else \
>       exit 1; \
>     fi; \
>   fi; \
> done
> make[2]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/etc'
> makeinfo --split-size=5000000 --no-split -I. -o standards.info
./standards.texi
> /standards.texi:1743: warning: @strong{Note:} produces a spurious
cross-referen
> ce in Info; reword to avoid that.
> /standards.texi:1858: warning: @strong{Note:} produces a spurious
cross-referen
> ce in Info; reword to avoid that.
> make[2]: Leaving directory `/cygdrive/k/cygwin/usr/src/gdb-20030919-1/etc'
> make[2]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/etc'
> rm -f configdev.txt configbuild.txt
> cp ./configdev.tin configdev.txt
> cp ./configbuild.tin configbuild.txt
> makeinfo --split-size=5000000 -I. -o configure.info ./configure.texi
> rm -f configdev.txt configbuild.txt
> make[2]: Leaving directory `/cygdrive/k/cygwin/usr/src/gdb-20030919-1/etc'
> /bin/sh ./../mkinstalldirs /usr/local/info
> if test ! -f standards.info; then cd .; fi; \
> if test -f standards.info; then \
>   for i in standards.info*; do \
>     /usr/bin/install -c -m 644 $i /usr/local/info/$i; \
>   done; \
> fi
> if test ! -f configure.info; then cd .; fi; \
> if test -f configure.info; then \
>   for i in configure.info*; do \
>     /usr/bin/install -c -m 644 $i /usr/local/info/$i; \
>   done; \
> fi
> make[1]: Leaving directory `/cygdrive/k/cygwin/usr/src/gdb-20030919-1/etc'
> make[1]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/intl'
> if test "@PACKAGE@" = "gettext" \
>    && test 'intl-compat.o' = 'intl-compat.o'; then \
>   if test -r ./../../mkinstalldirs; then \
>     ./../../mkinstalldirs /usr/local/lib /usr/local/include; \
>   else \
>     ./mkinstalldirs /usr/local/lib /usr/local/include; \
>   fi; \
>   /usr/bin/install -c -m 644 intlh.inst /usr/local/include/libintl.h; \
>   /usr/bin/install -c -m 644 libintl.a /usr/local/lib/libintl.a; \
> else \
>   : ; \
> fi
> if test "@PACKAGE@" = "gettext"; then \
>   if test -r ./../../mkinstalldirs; then \
>     ./../../mkinstalldirs /usr/local/share/gettext/intl; \
>   else \
>     ./mkinstalldirs /usr/local/share/gettext/intl; \
>   fi; \
>   /usr/bin/install -c -m 644 VERSION
/usr/local/share/gettext/intl/VERSION; \
>   dists="ChangeLog Makefile.in linux-msg.sed po2tbl.sed.in xopen-msg.sed
gettext
> h gettextP.h hash-string.h libgettext.h loadinfo.h bindtextdom.c
dcgettext.c dg
> ettext.c gettext.c finddomain.c loadmsgcat.c localealias.c textdomain.c
l10nflis
> t.c explodename.c intl-compat.c cat-compat.c"; \
>   for file in $dists; do \
>     /usr/bin/install -c -m 644 ./$file
/usr/local/share/gettext/intl/$file; \
>   done; \
> else \
>   : ; \
> fi
> make[1]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/intl'
> make[1]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/libgui'
> Making install in library
> make[2]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/libgui/li
> brary'
> make[3]: Entering directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/libgui/li
> brary'
> make[3]: Nothing to be done for `install-exec-am'.
> /bin/sh ../../mkinstalldirs /usr/local/share/redhat/gui
> mkdir -p -- /usr/local/share/redhat/gui
> mkdir: cannot create directory `/usr/local/share/redhat': Permission
denied
> make[3]: *** [install-guiDATA] Error 1
> make[3]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/libgui/lib
> rary'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/libgui/lib
> rary'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory
`/cygdrive/k/cygwin/usr/src/gdb-20030919-1/libgui'
> make: *** [install-libgui] Error 2
>
> JoeReichman@mycomputer /cygdrive/k/cygwin/usr/src/gdb-20030919-1
>

Attachment: gdb1.txt
Description: Text document

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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