This is the mail archive of the gdb@sources.redhat.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]
Other format: [Raw text]

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....


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