Short gdb question.
Is this the right place to suggest that gdb be upgraded for cygwin. If not where could I suggest that? If this is an acceptable place then can I add here that if you guys do upgrade gdb that I was hoping you could make it a bit more detailed maybe make it to show a bit more information about crashes. An example is that I m working with a linked list and when the program crashes gdb prints out and only prints out the words below this text. I am left clueless about the error. Program received signal SIGABRT, Aborted. 0x7ffe0304 in ?? () -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Short gdb question.
Christopher Faylor wrote: On Thu, May 03, 2012 at 10:21:07PM -0400, Reid Thompson wrote: On 5/3/2012 7:47 PM, eric_justin_al...@cfl.rr.com wrote: Is this the right place to suggest that gdb be upgraded for cygwin. If not where could I suggest that? If this is an acceptable place then can I add here that if you guys do upgrade gdb that I was hoping you could make it a bit more detailed maybe make it to show a bit more information about crashes. An example is that I m working with a linked list and when the program crashes gdb prints out and only prints out the words below this text. I am left clueless about the error. Program received signal SIGABRT, Aborted. 0x7ffe0304 in ?? () Just... download, configure, make, make install http://ftp.gnu.org/gnu/gdb/ $ /opt/removethis/bin/gdb.exe --version GNU gdb (GDB) 7.4 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-cygwin". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. ...and find out that the above behavior will not change in any way in the new version of gdb. Incidentally, I just resigned as the gdb maintainer for Windows. Anyone else want to take on the mantle? cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Alright if I download and compile it can I just mv gdb.exe into /bin and overwrite gdb.exe? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Question about kill
Hey I'm not sure what version of cygwin I am using but I can't seem to kill a server program with kill and I was hoping someone here might be able to shine some light on the subject. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Question about kill
Well kill program_name didn't work and kill -9 is pretty much what I am looking for. Does it matter if you are gonna overwrite the program if you use kill -9? marco atzeri wrote: On 5/4/2012 2:11 PM, Eric Blake wrote: On 05/04/2012 05:51 AM, marco atzeri wrote: Usually kill -9 your_program_name works very well Usually 'kill -9 your_program' is overkill; it forcefully terminates the program with SIGKILL, which means the program has no chance to clean up after itself, and can leave your file system in a mess for the next time you attempt to run the program. You should reserve this for a last-ditch effort, only after the nicer 'kill your_program' (SIGTERM) or 'kill -s INT' (SIGINT) both result in no action. I had the impression he needs the last resort... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Question about kill
Andrey Repin wrote: Greetings, eric_justin_al...@cfl.rr.com! Well kill program_name didn't work and kill -9 is pretty much what I am looking for. Does it matter if you are gonna overwrite the program if you use kill -9? You have to answer it for yourself. Do your program write any critical state chages to a disk, when exits or at any point in process? Is it writing logs? And, please, don't top-post. -- WBR, Andrey Repin (anrdae...@freemail.ru) 05.05.2012,<15:24> Sorry for my terrible english... Why can't I top post? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Short gdb question.
Reid Thompson wrote: On Fri, 2012-05-04 at 00:45 -0700, eric_justin_al...@cfl.rr.com wrote: Alright if I download and compile it can I just mv gdb.exe into /bin and overwrite gdb.exe? use ./configure --prefix=/ make make install and it should end up in the right place Yea all I did was get install errors after a very long compilation. here's a copy of the errors: $ make install make[1]: Entering directory `/usr/src/gdb-7.4.1' /bin/sh ./mkinstalldirs / / make[2]: Entering directory `/usr/src/gdb-7.4.1/bfd' make install-recursive make[3]: Entering directory `/usr/src/gdb-7.4.1/bfd' Making install in doc make[4]: Entering directory `/usr/src/gdb-7.4.1/bfd/doc' test -z "//share/info" || /usr/bin/mkdir -p "//share/info" /usr/bin/mkdir: cannot create directory `//share': Read-only file system Makefile:661: recipe for target `install-info-am' failed make[4]: *** [install-info-am] Error 1 make[4]: Leaving directory `/usr/src/gdb-7.4.1/bfd/doc' Making install in po make[4]: Entering directory `/usr/src/gdb-7.4.1/bfd/po' if test -r .././../mkinstalldirs; then \ .././../mkinstalldirs //share; \ else \ ../mkinstalldirs //share; \ fi mkdir -p -- //share mkdir: cannot create directory `//share': Read-only file system Makefile:507: recipe for target `install-data-yes' failed make[4]: *** [install-data-yes] Error 1 make[4]: Leaving directory `/usr/src/gdb-7.4.1/bfd/po' make[4]: Entering directory `/usr/src/gdb-7.4.1/bfd' make[5]: Entering directory `/usr/src/gdb-7.4.1/bfd' make[5]: Nothing to be done for `install-exec-am'. test -z "//include" || /usr/bin/mkdir -p "//include" /usr/bin/mkdir: cannot create directory `//include': Read-only file system Makefile:1564: recipe for target `install-bfdincludeHEADERS' failed make[5]: *** [install-bfdincludeHEADERS] Error 1 make[5]: Leaving directory `/usr/src/gdb-7.4.1/bfd' Makefile:1734: recipe for target `install-am' failed make[4]: *** [install-am] Error 2 make[4]: Leaving directory `/usr/src/gdb-7.4.1/bfd' Makefile:1591: recipe for target `install-recursive' failed make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/usr/src/gdb-7.4.1/bfd' Makefile:1728: recipe for target `install' failed make[2]: *** [install] Error 2 make[2]: Leaving directory `/usr/src/gdb-7.4.1/bfd' Makefile:2579: recipe for target `install-bfd' failed make[1]: *** [install-bfd] Error 2 make[1]: Leaving directory `/usr/src/gdb-7.4.1' Makefile:2082: recipe for target `install' failed make: *** [install] Error 2 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Question about gcc.
Hey I'm using cygwin: CYGWIN_NT-5.1 a 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin I was wondering if there are any graphics libraries for c programming available for cygwin. If so I was hoping someone could help me download and install them. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Question about gcc.
marco atzeri wrote: On 5/8/2012 11:40 AM, eric_justin_al...@cfl.rr.com wrote: Hey I'm using cygwin: CYGWIN_NT-5.1 a 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin I was wondering if there are any graphics libraries for c programming available for cygwin. If so I was hoping someone could help me download and install them. a vague request. From the cygwin setup.exe "Select Packages" windows you can look at devel and graphics categories, there are plenty of graphics libraries fltk, Qt4, libGL ... Marco -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Ok if you wanted to add some hand typed graphics to your program which would you choose? Would you chose all three? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple