From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
To: drow@mvista.com
Cc: gdb-patches@sources.redhat.com
Subject: Re: mips gdbserver reports R0 != 0
Date: Thu, 29 Jan 2004 01:51:00 -0000 [thread overview]
Message-ID: <20040129.105230.78702389.nemoto@toshiba-tops.co.jp> (raw)
In-Reply-To: <20040128.103415.59462128.nemoto@toshiba-tops.co.jp>
>>>>> On Wed, 28 Jan 2004 10:34:15 +0900 (JST), Atsushi Nemoto <anemo@mba.ocn.ne.jp> said:
drow> Explicitly zeroing the register cache should fix this, so I'd be
drow> happier with that solution.
drow> [Do you have a copyright assignment on file for GDB, btw? If
drow> not, I'll make the patch myself for you to test, to spare us the
drow> legal dance.]
anemo> No, I don't. Please make the patch for me. Then I will try
anemo> it. Thank you.
I just inserted a line:
memset (regcache->registers, 0, register_bytes);
to new_register_cache() (regcache.c:108) and it fixed my problem. I
don't think anybody can do the legal dance on this line :-)
---
Atsushi Nemoto
next prev parent reply other threads:[~2004-01-29 1:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-27 10:35 Atsushi Nemoto
2004-01-27 14:17 ` Daniel Jacobowitz
2004-01-27 15:01 ` Atsushi Nemoto
2004-01-27 17:12 ` Daniel Jacobowitz
2004-01-28 1:33 ` Atsushi Nemoto
2004-01-29 1:51 ` Atsushi Nemoto [this message]
2004-01-30 15:09 ` Daniel Jacobowitz
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=20040129.105230.78702389.nemoto@toshiba-tops.co.jp \
--to=anemo@mba.ocn.ne.jp \
--cc=drow@mvista.com \
--cc=gdb-patches@sources.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