From: Michal Ludvig <mludvig@suse.cz>
To: Mark Kettenis <kettenis@chello.nl>
Cc: <gdb-patches@sources.redhat.com>
Subject: Re: [RFC] Implementation of DW_OP_deref and DW_OP_deref_size operators
Date: Thu, 04 Jul 2002 18:34:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.33.0207050118040.27306-100000@chimera.suse.cz> (raw)
In-Reply-To: <200207042202.g64M2hT62589@elgar.kettenis.dyndns.org>
On Fri, 5 Jul 2002, Mark Kettenis wrote:
> These expressions are supposed to dereference pointers. In GDB this
> means that they should look at the address indicated by the pointer
> they're dereferencing *in the target*. The current code is trying to
> dereference a pointer in GDB. If we look at the history of this code
> it is perfectly understandable. It is largely copied from the
> unwinder that comes with GCC. This unwinder is supposed to be linked
> into the program that contains the DWARF2 code, so in that context it
> makes sense to lookup pointers in the program this code is running in.
>
> Does this sound reasonable?
Yes it does. I have already found this kind of flaws in there and
I bet that there are some more yet :-(
Michal Ludvig
--
* SuSE CR, s.r.o * mludvig@suse.cz
* +420 2 9654 5373 * http://www.suse.cz
next prev parent reply other threads:[~2002-07-04 23:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-04 16:00 Mark Kettenis
2002-07-04 18:34 ` Michal Ludvig [this message]
2002-07-04 20:23 ` Jim Blandy
2002-07-04 20:34 ` Jim Blandy
2002-07-05 19:10 ` Mark Kettenis
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=Pine.LNX.4.33.0207050118040.27306-100000@chimera.suse.cz \
--to=mludvig@suse.cz \
--cc=gdb-patches@sources.redhat.com \
--cc=kettenis@chello.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