public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Daniel Jacobowitz <drow@mvista.com>
Cc: Michael Elizabeth Chastain <mec@shout.net>,
	stcarrez@nerim.fr, brobecker@gnat.com, gdb@sources.redhat.com,
	kettenis@chello.nl
Subject: Re: 8-byte register values on a 32-bit machine
Date: Wed, 12 Mar 2003 16:57:00 -0000	[thread overview]
Message-ID: <3E6F670D.4030205@redhat.com> (raw)
In-Reply-To: <20030312155116.GA3669@nevyn.them.org>


> The new code fixes some reported wrong-value-reported bugs in other debugging
> situations; one of them was reported just recently.  So I don't think
> 'equalled the functionality of the old mechanism' is really quite fair.
> 
> I was also not aware that we had sketchy multi-register support until
> it was pointed out to me, because the support isn't in any of the
> places I was working in directly; it's off in the generic value code,
> isn't it?  So I didn't know this was going to happen.  We have a plan
> to fix it, too.  Mark posted it, and then ran out of time (?).  You
> didn't like his plan because:

>    I think it is very dangerous.  It's assuming a specific algorithm
>    in the compiler.  That locks both GDB and GCC into something of a
>    death spiral.  I think its far better to try and get a proper
>    location mechanism working.

There are other ways forward on this - moving the algorithm to libiberty 
(like the demangler).

> Well, that's what we did before, in the "old mechanism", and we don't
> have any new debug info that we didn't have then so it's what we need
> to keep doing until support for the new debug info is ready (then GCC
> can emit it more broadly).
> 
> By the way, you wrote:
> On Sun, Feb 02, 2003 at 11:14:29AM -0500, Andrew Cagney wrote:
> 
>> If only it were that easy.  The dwarf2 reader, for instance, also 
>> contains the assumption that registers are allocated sequentially.
>> 
>> Is the proposal to modify such readers so that they check against this 
>> next_allocated_regnum algorithm?
> 
> 
> And I wrote back:
> 
>> Where?  I can't find this; it doesn't even acknowledge multi-register
>> values.

As we've now re-discovered, the assumption is is there, its real, but it 
is implicit.
> 
> I still don't understand what code you're referring to in the reader.

Andrew


  reply	other threads:[~2003-03-12 16:57 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-02 16:59 Michael Elizabeth Chastain
2003-03-12 15:35 ` Andrew Cagney
2003-03-12 15:51   ` Daniel Jacobowitz
2003-03-12 16:57     ` Andrew Cagney [this message]
2003-03-12 17:01       ` Daniel Jacobowitz
2003-03-12 18:15         ` Andrew Cagney
2003-03-12 18:29     ` Andrew Cagney
2003-03-12 18:35       ` Daniel Jacobowitz
2003-03-12 18:38         ` Andrew Cagney
2003-03-12 18:48         ` Paul Koning
2003-03-12 19:00           ` Daniel Jacobowitz
2003-03-12 21:04             ` Andrew Cagney
2003-03-12 20:06               ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2003-03-14 16:27 Michael Elizabeth Chastain
2003-03-13  4:18 Michael Elizabeth Chastain
2003-03-13 17:05 ` Andrew Cagney
2003-03-12 19:09 Michael Elizabeth Chastain
2003-03-12 20:47 ` Andrew Cagney
2003-03-02  6:52 Michael Elizabeth Chastain
2003-03-02  9:35 ` Stephane Carrez
2003-03-03  4:50   ` Daniel Jacobowitz
2003-03-01 20:57 Michael Elizabeth Chastain
2003-03-01 22:46 ` Mark Kettenis
2003-02-24  2:36 Michael Elizabeth Chastain
2003-03-01 13:35 ` Mark Kettenis
2003-03-01 20:33   ` Joel Brobecker
2003-03-01 22:38     ` Mark Kettenis
2003-03-01 23:41       ` Andrew Cagney
2003-03-02  0:28         ` Daniel Jacobowitz
2003-03-03 11:26           ` Richard Earnshaw
2003-03-03 11:52             ` Keith Walker
2003-03-01 23:39     ` Andrew Cagney

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=3E6F670D.4030205@redhat.com \
    --to=ac131313@redhat.com \
    --cc=brobecker@gnat.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=kettenis@chello.nl \
    --cc=mec@shout.net \
    --cc=stcarrez@nerim.fr \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).