Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: RFA: fix PR 9164
Date: Mon, 05 Jan 2009 18:31:00 -0000	[thread overview]
Message-ID: <m31vvhli7e.fsf@fleche.redhat.com> (raw)
In-Reply-To: <200901051729.39325.pedro@codesourcery.com> (Pedro Alves's message of "Mon\, 5 Jan 2009 17\:29\:39 +0000")

>>>>> "Pedro" == Pedro Alves <pedro@codesourcery.com> writes:

Pedro> I think that m32c will need a hook here.  I think that in some
Pedro> modes, size_t will be 16-bit, but pointer width 24-bits.

Pedro> I wonder if the above shouldn't be a gdbarch method, that defaults to
Pedro> what you wrote.

Yeah, I do see some gcc ports where size_t depends on the flags.
Not m32c, actually, but:

../arm/arm.h:597:#define SIZE_TYPE (TARGET_AAPCS_BASED ? "unsigned int" : "long unsigned int")

... all the other conditionally-defined ones seem to be decided by the
size of pointers.

I'll look into this more.

Tom


  reply	other threads:[~2009-01-05 18:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-03 21:20 Tom Tromey
2009-01-04  3:29 ` Daniel Jacobowitz
2009-01-04 18:10   ` Tom Tromey
2009-01-05  4:23     ` Joel Brobecker
2009-01-05  4:51       ` Tom Tromey
2009-01-05  9:23       ` Mark Kettenis
2009-01-05  9:30         ` Joel Brobecker
2009-01-05 17:29 ` Pedro Alves
2009-01-05 18:31   ` Tom Tromey [this message]
2009-01-07 22:13     ` Pedro Alves

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=m31vvhli7e.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=pedro@codesourcery.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