Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Eli Zaretskii" <eliz@elta.co.il>
To: Andrew Cagney <cagney@gnu.org>
Cc: drow@mvista.com, gdb-patches@sources.redhat.com
Subject: Re: [RFC]: remove inconsistency in printcmd.c: print_scalar_formatted
Date: Tue, 20 Jan 2004 19:10:00 -0000	[thread overview]
Message-ID: <9003-Tue20Jan2004210551+0200-eliz@elta.co.il> (raw)
In-Reply-To: <400D5C3E.9000100@gnu.org> (message from Andrew Cagney on Tue, 20 Jan 2004 11:50:06 -0500)

> Date: Tue, 20 Jan 2004 11:50:06 -0500
> From: Andrew Cagney <cagney@gnu.org>
> 
> Try:
> 
> 	(gdb) x 1.0
> 	0x000001: 0x12345678
> 	(gdb) x/v 1.0
> 	0x000000: 0xc0000000
> 
> or more notably:
> 
> 	(gdb) print struct_val
> 	{ i = 1, j = 2, k = 1.0 }
> 	(gdb) info location struct_val
> 	struct_val is a dwarf2 location expression, its value is scattered 
> across memory and registers
> 	(gdb) x/v struct_val
> 	0x00000000:  0x00010002   0xc0000000

Andrew, are you saying that "x/v" is already in GDB and does
everything Daniel asked for?

Anyway, I don't find the /v specifier in the manual.  Is this
implemented, or is this just a suggestion for a new feature?


  reply	other threads:[~2004-01-20 19:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-12 20:36 Jeff Johnston
2003-12-12 22:17 ` Kevin Buettner
2003-12-12 23:05   ` Daniel Jacobowitz
2003-12-13  0:55   ` J. Johnston
2004-01-19 22:23     ` J. Johnston
2004-01-19 22:57       ` Andrew Cagney
2004-01-19 23:18         ` Daniel Jacobowitz
2004-01-19 23:27           ` Kevin Buettner
2004-01-20  0:41           ` Andrew Cagney
2004-01-20  1:22             ` Daniel Jacobowitz
     [not found]               ` <400C8CC0.3040706@gnu.org>
2004-01-20  5:48                 ` Daniel Jacobowitz
2004-01-20  6:55                   ` Eli Zaretskii
2004-01-20 14:52                     ` Daniel Jacobowitz
2004-01-20 19:15                       ` Eli Zaretskii
2004-01-20 19:33                         ` Daniel Jacobowitz
2004-01-20 20:32                           ` Eli Zaretskii
2004-01-20 16:50                     ` Andrew Cagney
2004-01-20 19:10                       ` Eli Zaretskii [this message]
2004-01-20 21:29                   ` Andrew Cagney
2004-02-19 22:53                     ` Jeff Johnston

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=9003-Tue20Jan2004210551+0200-eliz@elta.co.il \
    --to=eliz@elta.co.il \
    --cc=cagney@gnu.org \
    --cc=drow@mvista.com \
    --cc=gdb-patches@sources.redhat.com \
    /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