From: Andrew Cagney <ac131313@cygnus.com>
To: Jim Blandy <jimb@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: addresses and pointers may be different sizes while printing
Date: Thu, 05 Jul 2001 23:14:00 -0000 [thread overview]
Message-ID: <3B45572F.3020708@cygnus.com> (raw)
In-Reply-To: <npwv5nmh6x.fsf@zwingli.cygnus.com>
> > I was thinking more of doc/gdb.texinfo.
>
>
> Something like this?
>
> Index: gdb.texinfo
> ===================================================================
> RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
> retrieving revision 1.38
> diff -c -c -b -F'^(' -r1.38 gdb.texinfo
> *** gdb.texinfo 2001/04/02 08:58:19 1.38
> --- gdb.texinfo 2001/07/05 23:23:31
> ***************
> *** 4381,4387 ****
>
> Casts are supported in all languages, not just in C, because it is so
> useful to cast a number into a pointer in order to examine a structure
> ! at that address in memory.
> @c FIXME: casts supported---Mod2 true?
>
> @value{GDBN} supports these operators, in addition to those common
> --- 4381,4388 ----
>
> Casts are supported in all languages, not just in C, because it is so
> useful to cast a number into a pointer in order to examine a structure
> ! at that address in memory. Where the value of a cast is undefined by
> ! the language, GDB tries to interpret the cast the same way GCC would.
> @c FIXME: casts supported---Mod2 true?
>
> @value{GDBN} supports these operators, in addition to those common
I think that is still too vague and fuzzy. There needs to be a concrete
example and a testcase.
These are probably something to do separate to these patches but they do
need doing. At present, there is nothing explaining (and testing) GDB's
behavour on a harvard architecture.
Andrew
next prev parent reply other threads:[~2001-07-05 23:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-28 15:35 Jim Blandy
[not found] ` <3B43F682.1040502@cygnus.com>
2001-07-05 10:13 ` Jim Blandy
2001-07-05 13:22 ` Andrew Cagney
2001-07-05 16:33 ` Jim Blandy
2001-07-05 23:14 ` Andrew Cagney [this message]
2001-07-06 14:51 ` Jim Blandy
2001-07-10 13:32 ` Andrew Cagney
2001-07-09 19:49 David Taylor
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=3B45572F.3020708@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@cygnus.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