From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: "Maciej W. Rozycki" <macro@codesourcery.com>
Cc: Tom Tromey <tromey@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [RFA] MIPS16 FP manual call/return fixes
Date: Tue, 01 May 2012 14:05:00 -0000 [thread overview]
Message-ID: <20120501140457.GA1691@host2.jankratochvil.net> (raw)
In-Reply-To: <alpine.DEB.1.10.1204302156230.19835@tp.orcam.me.uk>
On Mon, 30 Apr 2012 23:42:44 +0200, Maciej W. Rozycki wrote:
> + find_pc_partial_function_gnu_ifunc (b->loc->address, NULL,
> + &func_func_addr, NULL, &is_gnu_ifunc);
> + gdb_assert (is_gnu_ifunc);
Please remove that gdb_assert and fall back somehow, IMO just pass FUNCTION as
NULL in such case. Any resolving ADDRESS->SYMBOL can be ambiguous with weird
symbol files and it may find some overlapping non-IFUNC symbol instead.
Also user may have unloaded symbol files in the middle of the debugging etc.
Otherwise OK from me for the IFUNC part.
FYI getting with your original patch:
bfin-tdep.c: In function 'bfin_gdbarch_init':
bfin-tdep.c:841:3: error: passing argument 2 of 'set_gdbarch_return_value' from incompatible pointer type [-Werror]
In file included from defs.h:945:0,
from bfin-tdep.c:22:
gdbarch.h:452:13: note: expected 'enum return_value_convention (*)(struct gdbarch *, struct value *, struct type *, struct regcache *, gdb_byte *, const gdb_byte *)' but argument is of type 'enum return_value_convention (*)(struct gdbarch *, struct type *, struct type *, struct regcache *, gdb_byte *, const gdb_byte *)'
So maybe your patch I used is already obsolete or be sure you run with
"--enable-64-bit-bfd --enable-targets=all".
Thanks,
Jan
next prev parent reply other threads:[~2012-05-01 14:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-23 13:30 Maciej W. Rozycki
2012-04-26 19:20 ` Tom Tromey
2012-04-26 22:23 ` Maciej W. Rozycki
2012-04-27 15:16 ` Maciej W. Rozycki
2012-04-27 15:28 ` Tom Tromey
2012-04-26 19:33 ` Tom Tromey
2012-04-30 23:45 ` Maciej W. Rozycki
2012-05-01 14:05 ` Jan Kratochvil [this message]
2012-05-01 17:22 ` Maciej W. Rozycki
2012-05-02 21:28 ` Jan Kratochvil
2012-05-08 14:30 ` Maciej W. Rozycki
2012-05-12 19:38 ` Jan Kratochvil
2012-05-14 9:12 ` Maciej W. Rozycki
2012-05-14 11:54 ` Jan Kratochvil
2012-05-16 14:45 ` Maciej W. Rozycki
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=20120501140457.GA1691@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=macro@codesourcery.com \
--cc=tromey@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