|
From: Hehl, T. <Tho...@ac...> - 2010-11-12 12:34:49
|
Problem is that I'm not checked out on gdb. I have used it before many years ago when I was a full-time C developer. I remember then not using it very much. We subscribed to the philosophy that putting debug statements in was a better solution. I had found that there was a command set auto-solib-add on and figured that was the problem, but what's giving this command to gdb and why is it doing it wrong and how can I fix it? "These are the times that try men's souls." -- Thomas, uh, someone. OK, I know that this is different than facing death from an overwhelmingly superior army, but it's Friday and I'm a little silly. Right, Payne, Thomas Payne.:) -----Original Message----- From: Keith Marshall [mailto:kei...@us...] Sent: Thursday, November 11, 2010 5:26 PM To: min...@li... Subject: Re: [Mingw-users] debug error On Thursday 11 November 2010 20:49:06 Hehl, Thomas wrote: > Reading symbols from > C:\workspace\agile\agile-api-interface\Debug\test.o...done. > > .gdbinit: No such file or directory. Possibly an installation problem? Do you see this, if you invoke the gdb session directly from the command line, rather than from eclipse? > auto-solib-add on > > Undefined command: "auto-solib-add". Try "help". Isn't the correct form of this command "set auto-solib-add on"? (Did you try "help"? I identified that you've omitted the "set", by doing just that). $ gdb GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later ... ... This GDB was configured as "i486-linux-gnu". (gdb) auto-solib-add on Undefined command: "auto-solib-add". Try "help". (gdb) help List of classes of commands: ... Type "help all" for the list of all commands. Type "help" followed by command name for full documentation. Type "apropos word" to search for commands related to "word". Command name abbreviations are allowed if unambiguous. (gdb) apropos auto-solib-add set auto-solib-add -- Set autoloading of shared library symbols show auto-solib-add -- Show autoloading of shared library symbols (gdb) help set auto-solib-add Set autoloading of shared library symbols. If "on", symbols from all shared object libraries will be loaded automatically when the inferior begins execution, ... ... (gdb) set auto-solib-add on (gdb) -- Regards, Keith. ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ MinGW-users mailing list Min...@li... This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.sourceforge.net/lists/listinfo/mingw-users |