TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: PAUL WANKADIA
from: JAMES VAHN
date: 1997-08-18 17:23:00
subject: Re: ping

On Sat, 16 Aug 1997, Paul Wankadia wrote:
> I got gcc to turn my C source into ASM with and without '-g'.  When I used
> '-g', the resulting ASM code had a pile of debugging-related stuff at the 
top
> of the file that was obviously generated from the compiling.  I'd say that
> you probably can't get as to generate 'em for you if all you give it is the
> ASM code...
Seems so. But gdb has the -s option to load a symbol file, and (g)as
has the -as option to dump the symbol table (listing) to stdio.
So.......
        as -as hello.s > hello.sym
        as hello -o hello
        gdb hello
        (gdb) symbol-file hello.sym
Hmmph. Didn't work.  'can't read symbols: File format not recognized'.
--- ifmail-tx (i386 Linux)
---------------
* Origin: 300 miles East of Seattle, WA (1:346/15.1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.