Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: ligang@sunnorth.com.cn
To: Daniel Jacobowitz <drow@false.org>
Cc: gdb@sourceware.org
Subject: Re: printmethod.exp FAIL
Date: Tue, 04 Mar 2008 04:14:00 -0000	[thread overview]
Message-ID: <OF7883BEC6.0646159A-ON48257402.00171ADB-48257402.00172EB6@sunnorth.com.cn> (raw)
In-Reply-To: <20080304025051.GA1577@caradoc.them.org>

> > cp_print_class_method () will call METHOD_PTR_IS_VIRTUAL(addr) to 
> > determine how to print theA->virt. Here, addr is address of 
theA->virt. 
> > Also, #define METHOD_PTR_IS_VIRTUAL(ADDR)  ((ADDR) & 0x80000000).
> > In my test, if addr <= 0x80000000, the case is PASS, otherwise FAIL.
> > Why does this tie to 0x80000000?
> 
> Please try a newer version of GDB.  METHOD_PTR_IS_VIRTUAL was for an
> old implementation of C++ (either HP or early g++); I removed it a
> year or two ago.

Thanks. I will try.

> -- 
> Daniel Jacobowitz
> CodeSourcery


      reply	other threads:[~2008-03-04  4:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04  2:25 ligang
2008-03-04  2:51 ` Daniel Jacobowitz
2008-03-04  4:14   ` ligang [this message]

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=OF7883BEC6.0646159A-ON48257402.00171ADB-48257402.00172EB6@sunnorth.com.cn \
    --to=ligang@sunnorth.com.cn \
    --cc=drow@false.org \
    --cc=gdb@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