public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@redhat.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: debug/2813: Type of variable is wrong in dwarf2 debugging info
Date: Tue, 15 May 2001 23:56:00 -0000	[thread overview]
Message-ID: <20010516065601.7639.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR debug/2813; it has been noted by GNATS.

From: Alexandre Oliva <aoliva@redhat.com>
To: Mark Kettenis <kettenis@wins.uva.nl>
Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, mark@codesourcery.com
Subject: Re: debug/2813: Type of variable is wrong in dwarf2 debugging info
Date: 16 May 2001 03:49:42 -0300

 --=-=-=
 
 Mark Mitchell agreed this seemed like the right fix go, so I went
 ahead and prepared this patch (that I took the liberty to attribute to
 you; I hope you don't mind :-), that I'm bootstrapping as I write
 this.  It does indeed fix this particular bug report.
 
 Ok to install in branch and mainline if bootstrap succeeds?
 
 
 --=-=-=
 Content-Type: text/x-patch
 Content-Disposition: inline; filename=dwarf2out-qualtype.patch
 
 Index: gcc/ChangeLog
 from  Mark Kettenis  <kettenis@wins.uva.nl>
 
 	* dwarf2out.c (modified_type_die): Equate qualified type to die.
 
 Index: gcc/dwarf2out.c
 ===================================================================
 RCS file: /cvs/gcc/egcs/gcc/dwarf2out.c,v
 retrieving revision 1.266
 diff -u -p -r1.266 dwarf2out.c
 --- gcc/dwarf2out.c 2001/05/12 06:03:19 1.266
 +++ gcc/dwarf2out.c 2001/05/16 06:41:26
 @@ -6922,6 +6922,9 @@ modified_type_die (type, is_const_type, 
  	  if (mod_type_die == NULL)
  	    abort ();
  	}
 +
 +      if (qualified_type)
 +	type = qualified_type;
      }
  
    equate_type_number_to_die (type, mod_type_die);
 
 --=-=-=
 
 
 -- 
 Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
 Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
 CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
 Free Software Evangelist    *Please* write to mailing lists, not to me
 
 --=-=-=--


             reply	other threads:[~2001-05-15 23:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-15 23:56 Alexandre Oliva [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-17 15:46 Alexandre Oliva
2001-05-14 14:46 Mark Kettenis
2001-05-13 23:26 aoliva

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=20010516065601.7639.qmail@sourceware.cygnus.com \
    --to=aoliva@redhat.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).