public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/42288] please emit empty .debug_aranges section
       [not found] <bug-42288-4@http.gcc.gnu.org/bugzilla/>
@ 2011-04-21 15:33 ` mark at gcc dot gnu.org
  2011-09-26 18:24 ` mark at gcc dot gnu.org
  1 sibling, 0 replies; 8+ messages in thread
From: mark at gcc dot gnu.org @ 2011-04-21 15:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW
                 CC|                            |mark at gcc dot gnu.org

--- Comment #7 from Mark Wielaard <mark at gcc dot gnu.org> 2011-04-21 15:33:09 UTC ---
We discussed this a bit on the elfutils list WRT the dwarflint checks we have.
And the consensus seems to be that it is more convenient to actually have an
.aranges entry for each CU.
https://fedorahosted.org/pipermail/elfutils-devel/2011-April/002024.html

Could the patch be resurrected?


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/42288] please emit empty .debug_aranges section
       [not found] <bug-42288-4@http.gcc.gnu.org/bugzilla/>
  2011-04-21 15:33 ` [Bug debug/42288] please emit empty .debug_aranges section mark at gcc dot gnu.org
@ 2011-09-26 18:24 ` mark at gcc dot gnu.org
  1 sibling, 0 replies; 8+ messages in thread
From: mark at gcc dot gnu.org @ 2011-09-26 18:24 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Mark Wielaard <mark at gcc dot gnu.org> 2011-09-26 18:15:52 UTC ---
Author: mark
Date: Tue May  3 19:36:08 2011
New Revision: 173340

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173340
Log:
PR42288 emit empty .debug_aranges section.

* dwarf2out.c (dwarf2out_finish): Always call output_aranges ()
  when info_section_emitted.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/42288] please emit empty .debug_aranges section
  2009-12-04 22:36 [Bug debug/42288] New: " tromey at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-12-08 17:59 ` tromey at gcc dot gnu dot org
@ 2009-12-15 17:36 ` rth at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-12-15 17:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from rth at gcc dot gnu dot org  2009-12-15 17:36 -------
<tromey> rth: sorry... yeah, I tested the aranges patch and it worked for me. 
but it isn't clear we will need it now, we're discussing some form of caching
w/ gdb rather than using the index sections
<rth> ok.  i'll leave the patch alone until you tell me we need it.


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/42288] please emit empty .debug_aranges section
  2009-12-04 22:36 [Bug debug/42288] New: " tromey at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-12-07 16:19 ` rth at gcc dot gnu dot org
@ 2009-12-08 17:59 ` tromey at gcc dot gnu dot org
  2009-12-15 17:36 ` rth at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-12-08 17:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tromey at gcc dot gnu dot org  2009-12-08 17:58 -------
FWIW, I know that this patch will not affect the CVS gdb,
because that gdb never reads the .debug_aranges section.
I'll try this out using my branch today.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/42288] please emit empty .debug_aranges section
  2009-12-04 22:36 [Bug debug/42288] New: " tromey at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-12-07 15:57 ` tromey at gcc dot gnu dot org
@ 2009-12-07 16:19 ` rth at gcc dot gnu dot org
  2009-12-08 17:59 ` tromey at gcc dot gnu dot org
  2009-12-15 17:36 ` rth at gcc dot gnu dot org
  5 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-12-07 16:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rth at gcc dot gnu dot org  2009-12-07 16:19 -------
Created an attachment (id=19249)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19249&action=view)
Proposed patch

For the record, this is all that's needed for the above output.

I see quite a few gdb regressions vs F12 system compiler.  I suppose
that could just be gcc 4.5, but since F12 also includes VTA I would
hope that would not be the case...


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/42288] please emit empty .debug_aranges section
  2009-12-04 22:36 [Bug debug/42288] New: " tromey at gcc dot gnu dot org
  2009-12-06 22:31 ` [Bug debug/42288] " rth at gcc dot gnu dot org
  2009-12-07  2:05 ` rth at gcc dot gnu dot org
@ 2009-12-07 15:57 ` tromey at gcc dot gnu dot org
  2009-12-07 16:19 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: tromey at gcc dot gnu dot org @ 2009-12-07 15:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from tromey at gcc dot gnu dot org  2009-12-07 15:57 -------
Yes, that's exactly what I would like.  Thanks.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2009-12-06 22:31:12         |2009-12-07 15:57:12
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/42288] please emit empty .debug_aranges section
  2009-12-04 22:36 [Bug debug/42288] New: " tromey at gcc dot gnu dot org
  2009-12-06 22:31 ` [Bug debug/42288] " rth at gcc dot gnu dot org
@ 2009-12-07  2:05 ` rth at gcc dot gnu dot org
  2009-12-07 15:57 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-12-07  2:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rth at gcc dot gnu dot org  2009-12-07 02:04 -------
To be sure, you're keying off having *some* aranges entry with a reference
to a given CU in the debug_info section?  So:

Contents of the .debug_aranges section:

  Length:                   28
  Version:                  2
  Offset into .debug_info:  0x0
  Pointer Size:             8
  Segment Size:             0

    Address            Length
    0000000000000000 0000000000000000 

is exactly what you're looking for?


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/42288] please emit empty .debug_aranges section
  2009-12-04 22:36 [Bug debug/42288] New: " tromey at gcc dot gnu dot org
@ 2009-12-06 22:31 ` rth at gcc dot gnu dot org
  2009-12-07  2:05 ` rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: rth at gcc dot gnu dot org @ 2009-12-06 22:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rth at gcc dot gnu dot org  2009-12-06 22:31 -------
Reasonable.


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-06 22:31:12
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42288


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-09-26 18:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42288-4@http.gcc.gnu.org/bugzilla/>
2011-04-21 15:33 ` [Bug debug/42288] please emit empty .debug_aranges section mark at gcc dot gnu.org
2011-09-26 18:24 ` mark at gcc dot gnu.org
2009-12-04 22:36 [Bug debug/42288] New: " tromey at gcc dot gnu dot org
2009-12-06 22:31 ` [Bug debug/42288] " rth at gcc dot gnu dot org
2009-12-07  2:05 ` rth at gcc dot gnu dot org
2009-12-07 15:57 ` tromey at gcc dot gnu dot org
2009-12-07 16:19 ` rth at gcc dot gnu dot org
2009-12-08 17:59 ` tromey at gcc dot gnu dot org
2009-12-15 17:36 ` rth at gcc dot gnu dot org

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).