home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!decwrl!netcomsv!resonex!michael
- From: michael@resonex.com (Michael Bryan)
- Subject: Re: modify the value of variables in XDB
- Message-ID: <1992Sep14.130847.23009@resonex.com>
- Organization: Resonex Inc., Sunnyvale CA
- References: <ghsu.716481890@critical>
- Date: Mon, 14 Sep 1992 13:08:47 GMT
- Lines: 24
-
- In article <ghsu.716481890@critical> ghsu@critical.nswc.navy.mil writes:
- >
- > The subject says exactly what I want to do. The man page for xdb
- >does have a section on "Data Viewing and Modification Commands". But
- >there is no command to modify data described there at all.
-
- Use the incredibly-well-documented-intuitively-obvious command:
- <note the *heavy* sarcasm above>
-
- p varname = newvalue
-
- Yes, that's really the "p" command, used for printing values.
- Adding the "=" turns it into a modification command. And it's
- oh-so-nice that the "help data" command within xdb doesn't tell
- you how to do this. I forget where I found it, but it's somewhere
- in the printed documentation.
-
- We now return you to your regularly scheduled lack of sarcasm...
-
- --
- Michael Bryan michael@resonex.com "Milk and Cheese in '92!" | ,_,
- "Lovers are like... dentures. You don't want them in your | /oo \
- mouth all night, but you sure as hell want them within arm's | <>__|
- reach in the morning!" --- Miss Elmira Gulch | | U|
-