This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Still cannot print variable
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Bob Rossi'" <bob at brasko dot net>,"'JS'" <fedevaps at yahoo dot dk>
- Cc: <gdb at sources dot redhat dot com>
- Date: Fri, 15 Apr 2005 13:00:45 +0100
- Subject: RE: Still cannot print variable
----Original Message----
>From: Bob Rossi
>Sent: 15 April 2005 12:55
> You know, I just realized it's kind of odd that GDB doesn't look on the
> users PATH to figure out which program to debug. For instance, it must
> first look in the . directory, which is why this works in the first
> place. I'd expect GDB to start debugging /usr/bin/test, as if he'd run
> 'test' on the command line.
Perhaps gdb *does* look in $PATH, and JS has the current directory ('.')
in his $PATH settings?
I just tried 'gdb yes' and it WFM....
cheers,
DaveK
--
Can't think of a witty .sigline today....