Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Adam Fedor <fedor@doc.com>
Cc: Michael Snyder <msnyder@redhat.com>,
	GDB Patches <gdb-patches@sources.redhat.com>
Subject: Re: [PATCH] Handle ObjC OPS in eval.c
Date: Fri, 07 Feb 2003 22:04:00 -0000	[thread overview]
Message-ID: <3E442D82.5060502@redhat.com> (raw)
In-Reply-To: <3E43FB6A.3030505@doc.com>


> +#ifdef GDB_TARGET_IS_HPPA
> +           CORE_ADDR tmp;
> +           /* code and comment lifted from hppa-tdep.c -- unfortunately
> +              there is no builtin function to do this for me. */
> +           /* If bit 30 (counting from the left) is on, then addr is the
> +              address of the PLT entry for this function, not the address
> +              of the function itself.  Bit 31 has meaning too, but only
> +              for MPE.  */
> +           if (addr & 0x2)
> +             addr = (CORE_ADDR) read_memory_unsigned_integer (addr & ~0x3, 4);
> +           if (tmp = skip_trampoline_code (addr, 0))
> +             addr = tmp;       /* in case of trampoline code */
> +#endif

> I tried looking at gdbarch, but it's a bit complicated for me so I couldn't understand much. I saw that OP_FUNCALL was using

I recommend disabling the above code (perhaps create a bug report to 
track this action - you can blame me :-).  I don't see Apple objecting 
and if someone with a PA ever hits problems, they can fix it :-/

Andrew



  reply	other threads:[~2003-02-07 22:04 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 20:27 Adam Fedor
2003-01-31  3:07 ` Michael Snyder
2003-02-07 18:31   ` Adam Fedor
2003-02-07 22:04     ` Andrew Cagney [this message]
2003-02-13  4:05   ` Adam Fedor
2003-02-19 20:05     ` Elena Zannoni
2003-03-05  5:06       ` Adam Fedor
2003-04-10 21:56         ` Elena Zannoni
2003-04-20  3:42           ` Adam Fedor
2003-04-21  4:14             ` Daniel Jacobowitz
2003-04-21 16:26               ` Elena Zannoni
2003-04-21 16:47               ` Adam Fedor
2003-04-21 16:51                 ` Daniel Jacobowitz
2003-04-21 17:09                 ` Elena Zannoni
2003-04-21 18:23                   ` Adam Fedor

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=3E442D82.5060502@redhat.com \
    --to=ac131313@redhat.com \
    --cc=fedor@doc.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=msnyder@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