From: Mike Frysinger <vapier@gentoo.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: brobecker@adacore.com, gdb-patches@sourceware.org
Subject: Re: [PATCH] gdb: workaround sparc memcpy fortify error
Date: Wed, 21 Apr 2010 20:12:00 -0000 [thread overview]
Message-ID: <201004211612.56135.vapier@gentoo.org> (raw)
In-Reply-To: <201004211955.o3LJtV69021551@glazunov.sibelius.xs4all.nl>
[-- Attachment #1: Type: Text/Plain, Size: 752 bytes --]
this is what i ended up committing then. thanks guys.
-mike
2010-04-21 Mike Frysinger <vapier@gentoo.org>
* gdb/sparc-tdep.c (sparc32_store_return_value): Add gdb_assert ()
for len <= 8.
Index: gdb/sparc-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-tdep.c,v
retrieving revision 1.211
diff -u -p -r1.211 sparc-tdep.c
--- gdb/sparc-tdep.c 1 Jan 2010 07:31:42 -0000 1.211
+++ gdb/sparc-tdep.c 21 Apr 2010 20:10:16 -0000
@@ -1105,6 +1105,7 @@ sparc32_store_return_value (struct type
gdb_assert (!sparc_structure_or_union_p (type));
gdb_assert (!(sparc_floating_p (type) && len == 16));
+ gdb_assert (len <= 8);
if (sparc_floating_p (type))
{
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
prev parent reply other threads:[~2010-04-21 20:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 2:09 [PATCH] gdb: fix " Mike Frysinger
2010-03-19 7:45 ` Eli Zaretskii
2010-03-19 8:18 ` Hui Zhu
2010-03-19 8:42 ` Andreas Schwab
2010-03-19 17:10 ` Mike Frysinger
2010-03-19 9:26 ` Mark Kettenis
2010-03-19 17:09 ` Mike Frysinger
2010-03-19 20:11 ` [PATCH] gdb: workaround " Mike Frysinger
2010-04-19 18:59 ` Mike Frysinger
2010-04-21 15:30 ` Joel Brobecker
2010-04-21 15:38 ` Tom Tromey
2010-04-21 16:01 ` Joel Brobecker
2010-04-21 16:10 ` Mark Kettenis
2010-04-21 19:40 ` Mike Frysinger
2010-04-21 19:56 ` Mark Kettenis
2010-04-21 20:12 ` Mike Frysinger [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=201004211612.56135.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
/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