🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #457

Re: "path" command doc bug

#457
From: gnu
Date: Thu, 08 Oct 1992 16:02
19 lines
1275 bytes
> "help path" doesn't mention that "path" with no argument prints
> out the current path.

It doesn't mention that "help path foo bar" prints the new path either.
The way to print the path is with "show path".  "path" alone happens
to print the new path after adding zero directories to it.

> Also, GDB should have an "info version" command which prints out
> the current GDB version. This bug is for GDB 4.5.5, but I had
> to start up a new GDB to find out.

"show version".

We rearranged the informational commands back in gdb-4.0.  "show" handles
things that refer to the GDB or debugging environment; "info" handles things
that refer to the target program.  We kept a few "info" aliases for things
that are more properly "show"s, to provide easier continuity for users.

	John
Technical Details
Message-ID: <9210090602.AA15518@cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!gnu
References: <9210082126.AA28589@napa.TELEBIT.COM>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!gnu
From: gnu@cygnus.com
Subject: Re: "path" command doc bug
Message-ID: <9210090602.AA15518@cygnus.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
References: <9210082126.AA28589@napa.TELEBIT.COM>
Distribution: gnu
Date: Thu, 8 Oct 1992 16:02:05 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 20