public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* dwarf2 debug dependent upon GAS?
@ 1999-02-21 12:47 Robert Lipe
       [not found] ` < 19990221144644.M8783@rjlhome.sco.com >
  1999-02-28 22:53 ` Robert Lipe
  0 siblings, 2 replies; 40+ messages in thread
From: Robert Lipe @ 1999-02-21 12:47 UTC (permalink / raw)
  To: egcs

I've had it on my list to examine Dwarf2 debugging for System V.  I'm
finding that it seems to depend upon a curiosity of the GNU assembler.
Is this accurate?

I'm seeing EGCS (current trunk) generate refences to symbols that don't
exist.  There are SECTIONS of that name, but no symbols.  Apparently
GAS treat them interchangably.  Is it the intent for these to reference
the beginning of the section in this file (i.e. local labels) or the
beginning of that section once linked? (without making them global, I
don't know how I would synthesize that.)

$ ./as x.s   
(robertl) rjludi:/home3/negcs/gcc
$ /bin/as x.s
UX:as: ERROR: (EOF):undefined name: .debug_info
UX:as: ERROR: (EOF):undefined name: .debug_abbrev
UX:as: ERROR: (EOF):undefined name: .debug_line
UX:as: ERROR: (EOF):undefined name: .text
(robertl) rjludi:/home3/negcs/gcc
$ grep debug_info x.s
        .section        .debug_info
        .4byte  .debug_info
        .4byte  .debug_info


If it's the intent for them to be local, I can probably just arrange
to have something like:

        .section        .debug_info
.debug_info:
        .section        .debug_abbrev
.debug_abbrev:
        .section        .debug_line
.debug_line:
        .section        .text
.text:


emitted at the top of each file.

Any thoughts?

RJL

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

end of thread, other threads:[~1999-02-28 22:53 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <19990221144644.M8783.cygnus.egcs@rjlhome.sco.com>
1999-02-22 17:24 ` dwarf2 debug dependent upon GAS? Jim Wilson
     [not found]   ` < 199902230124.RAA24440@rtl.cygnus.com >
1999-02-22 21:32     ` Robert Lipe
     [not found]       ` < 19990222233200.P325@rjlhome.sco.com >
1999-02-23  7:04         ` Brian Ford
     [not found]           ` < Pine.SGI.4.03.9902230903340.512-100000@uscream.vss.fsi.com >
1999-02-23  8:41             ` Robert Lipe
     [not found]               ` < 19990223104109.E2294@rjlhome.sco.com >
1999-02-23  9:03                 ` Brian Ford
1999-02-28 22:53                   ` Brian Ford
1999-02-23 17:39               ` Daniel Berlin
1999-02-28 22:53                 ` Daniel Berlin
1999-02-28 22:53               ` Robert Lipe
1999-02-28 22:53           ` Brian Ford
1999-02-23 14:19         ` Jim Wilson
1999-02-28 22:53           ` Jim Wilson
1999-02-28 22:53       ` Robert Lipe
1999-02-28 22:53   ` Jim Wilson
     [not found] ` <199902230124.RAA24440.cygnus.egcs@rtl.cygnus.com>
1999-02-25 12:05   ` Jason Merrill
     [not found]     ` <19990225143649.I17655@rjlhome.sco.com>
1999-02-25 18:13       ` Jason Merrill
     [not found]         ` < u9u2w9j4jr.fsf@yorick.cygnus.com >
1999-02-25 20:55           ` Robert Lipe
1999-02-25 21:02             ` Jason Merrill
     [not found]               ` < u9d82xiwp5.fsf@yorick.cygnus.com >
1999-02-25 21:21                 ` Robert Lipe
1999-02-25 21:27                   ` Jason Merrill
1999-02-28 22:53                     ` Jason Merrill
1999-02-28 22:53                   ` Robert Lipe
1999-02-25 22:16                 ` Robert Lipe
1999-02-25 22:31                   ` Jason Merrill
     [not found]                     ` < u93e3tism2.fsf@yorick.cygnus.com >
1999-02-25 23:25                       ` Robert Lipe
     [not found]                         ` < 19990226012522.D17655@rjlhome.sco.com >
1999-02-28  0:57                           ` Jeffrey A Law
1999-02-28 22:53                             ` Jeffrey A Law
1999-02-28 22:53                         ` Robert Lipe
1999-02-28 22:53                     ` Jason Merrill
1999-02-28 22:53                   ` Robert Lipe
1999-02-28 22:53               ` Jason Merrill
1999-02-25 21:19             ` Jason Merrill
1999-02-28 22:53               ` Jason Merrill
1999-02-28 22:53             ` Robert Lipe
1999-02-28 22:53         ` Jason Merrill
1999-02-28 22:53     ` Jason Merrill
1999-02-21 12:47 Robert Lipe
     [not found] ` < 19990221144644.M8783@rjlhome.sco.com >
1999-02-21 14:51   ` Jeffrey A Law
1999-02-28 22:53     ` Jeffrey A Law
1999-02-28 22:53 ` Robert Lipe

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