🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm.x86
Article #141

Debugging GNU assembler on FreeBSD

#141
From: Eric Fowler
Date: Fri, 01 May 1998 00:00
9 lines
1248 bytes
I have some GNU assembler code running on FreeBSD. I am assembling using
the gcc compiler/'as'-driver and would like to debug with gdb. To further
establish my credentials as a masochist, I am doing this in text mode using
vi. 
I can easily get gcc-compiled C code to generate symbols, but if I pass the
-ggdb or the -g flag to gcc for assembler code, I get a binary that has no
symbols(at least, that's what gdb says). How can I debug my assembler
source in gdb? 
Technical Details
Message-ID: <6icd56$b46$1@winter.news.erols.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,dcec7446a040194f,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 114917,dcec7446a040194f,start
X-Google-Attributes: gid114917,public
X-Google-Thread: 10ba33,dcec7446a040194f,start
X-Google-Attributes: gid10ba33,public
From: "Eric Fowler" <v-ericfo@microsoft.com>
Subject: Debugging GNU assembler on FreeBSD
Date: 1998/05/01
Message-ID: <6icd56$b46$1@winter.news.erols.com>
X-Deja-AN: 349295308
Approved: <johnfine@erols.com>
X-Mozilla-Status: 0801
X-Complaints-To: abuse@erols.com
X-UIDL: e05f32673e
X-Trace: winter.news.erols.com 894023654 11398 207.172.240.135 (1 May 1998 11:54:14 GMT)
Organization: Eastman Software
Newsgroups: comp.lang.asm.x86,gnu.gcc.help,gnu.g++.help