From: Teresa Thomas <tthomas@redhat.com>
To: frysk <frysk@sourceware.org>
Subject: New fhpd commands: ptype & plocation
Date: Wed, 26 Sep 2007 20:43:00 -0000 [thread overview]
Message-ID: <46FAC452.4010301@redhat.com> (raw)
Two new commands have been added to fhpd:
1) ptype <VariableName/expr> : prints the type of variable/expression
2) plocation <VariableName> : prints the location of variable,
displaying any memory split if present.
Example (attached to hpd-c):
============================
(fhpd) ptype arr_1
[0.0]
long int [32]
(fhpd) plocation static_int
[0.0]
Address 0x8049e34 - 4 byte(s)
(fhpd) plocation int_21
[0.0]
Register eax - 4 byte(s)
============================
For multiple pieces the output of plocation will look like:
Piece 0: < location details >
Piece 1: < location details >
etc
Any suggestions on improving the output format?
Cheers,
Teresa
next reply other threads:[~2007-09-26 20:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 20:43 Teresa Thomas [this message]
2007-09-27 6:49 ` Phil Muldoon
2007-09-27 14:14 ` Teresa Thomas
2007-09-27 14:21 ` Phil Muldoon
2007-09-27 14:47 ` Andrew Cagney
2007-09-27 14:53 ` Phil Muldoon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46FAC452.4010301@redhat.com \
--to=tthomas@redhat.com \
--cc=frysk@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).