From: Carlos O'Donell <carlos@baldric.uwo.ca>
To: "Boehm, Hans" <hans_boehm@hp.com>
Cc: "'parisc-linux@lists.parisc-linux.org'"
<parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] Program counter from sigcontext, constructurs and -fPIC
Date: Tue, 29 Apr 2003 17:30:28 -0400 [thread overview]
Message-ID: <20030429213027.GB12492@systemhalted> (raw)
In-Reply-To: <75A9FEBA25015040A761C1F74975667D01442066@hplex4.hpl.hp.com>
> 1) Switching to a machine with a 2.4.20-pa28 kernel and gcc 3.2.
> 2) Discarding the privilege level bits from the program counter value.
Why?
> 3) Adding 24 bytes to the struct sigcontext pointer (?) passed as a third argument to the signal handler. (!)
Are you still using a 64-bit kernel?
> Needless to say, I'm still a bit concerned about (3). Why does the third argument to the signal handler appear to point 24 bytes BEFORE the sigcontext structure? Does it actually point at a bigger structure? Is the third argument to a signal handler really not a pointer to sigcontext? Did struct sigcontext change recently, so that I'm dealing with a version mismatch?
What glibc version is installed? I made recent changes to mache the
userspace and kernel versions of sigcontext (now a machine context).
> With the 24 bytes added, I clearly get the right program counter values. I also seem to get the right general register values.
How are you accessing this value? Can you generate a simple testcase
please?
c.
next prev parent reply other threads:[~2003-04-29 21:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-29 21:17 [parisc-linux] Program counter from sigcontext, constructurs and -fPIC Boehm, Hans
2003-04-29 21:30 ` Carlos O'Donell [this message]
2003-04-29 22:13 ` Grant Grundler
2003-04-30 0:31 ` Carlos O'Donell
2003-04-30 5:18 ` Grant Grundler
2003-04-30 7:15 ` Joel Soete
2003-04-30 18:12 ` Carlos O'Donell
2003-05-03 20:48 ` Joel Soete
2003-05-05 6:08 ` Joel Soete
2003-05-01 4:09 ` Grant Grundler
-- strict thread matches above, loose matches on Subject: below --
2003-04-30 0:52 Boehm, Hans
2003-04-25 19:40 Boehm, Hans
2003-04-25 20:52 ` Carlos O'Donell
2003-04-25 17:46 Boehm, Hans
2003-04-25 18:54 ` Carlos O'Donell
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=20030429213027.GB12492@systemhalted \
--to=carlos@baldric.uwo.ca \
--cc=hans_boehm@hp.com \
--cc=parisc-linux@lists.parisc-linux.org \
/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