From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: gdb-patches@sources.redhat.com
Subject: Re: [RFA] i386-tdep.c: Fix datatype
Date: Thu, 23 Jun 2005 20:54:00 -0000 [thread overview]
Message-ID: <200506232054.j5NKsW15023041@elgar.sibelius.xs4all.nl> (raw)
In-Reply-To: <20050623163637.GS2814@calimero.vinschen.de> (message from Corinna Vinschen on Thu, 23 Jun 2005 18:36:37 +0200)
Date: Thu, 23 Jun 2005 18:36:37 +0200
From: Corinna Vinschen <vinschen@redhat.com>
Hi,
the below patch is just a minor tweak. The stack pointer offset sp_offset
stored in struct i386_frame_cache is an offset, not an address. It looks
more correct to define it as LONGEST, not as CORE_ADDR. Especially since
sp_offset can contain positve and negative values.
Corinna
* i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.
Aauming this compiles with -Werror (and I have no reason to suspect
that it wouldn't, this is ok.
Thanks,
Mark
next prev parent reply other threads:[~2005-06-23 20:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-23 16:36 Corinna Vinschen
2005-06-23 20:54 ` Mark Kettenis [this message]
2005-06-24 8:13 ` Corinna Vinschen
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=200506232054.j5NKsW15023041@elgar.sibelius.xs4all.nl \
--to=mark.kettenis@xs4all.nl \
--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