Article View: gnu.gcc.help
Article #42164Reqesting help with GNU Tools
From: Hans Frederick
Date: Tue, 09 Jan 1996 00:00
Date: Tue, 09 Jan 1996 00:00
49 lines
1835 bytes
1835 bytes
Hello,
I am working on a project using the GNU Toolkit with a Motorola 68332
and VxWorks and am looking for ways to do the following:
1) Obtain a listing interleaving C source code with its associated
assembly code. The best I have been able to do is using objdump68k with
-d and -l options to get source code line numbers and associated assembly
code.
2) Obtain a listing containing the names and values of enumerated constants
in an include file. The closest I have found is objdump68k's -t option
using an object file that includes the include file as the source.
Example include file section
typedef enum
{
MAJOR_FAULT = 0x8000,
MINOR_FAULT = 0x4000,
SYS_FAULT = 0x1000,
BOOT_FAULT = SYS_FAULT | 0x100,
/*--- Boot Faults ---*/
BOOT_FAULT_MAJOR = BOOT_FAULT | MAJOR_FAULT, /* major faults... */
BOOT_RAM_ACCESS_FAIL,
BOOT_FAULT_MINOR = BOOT_FAULT | MINOR_FAULT, /* minor faults... */
CANNOT_DETERMINE_DATE_FOR_AUTOTEST,
} FaultID_type;
Desired listing (actual format is flexible)
MAJOR_FAULT 0x8000
MINOR_FAULT 0x4000
SYS_FAULT 0x1000
BOOT_FAULT 0x1100
BOOT_FAULT_MAJOR 0x9100
BOOT_RAM_ACCESS_FAIL 0x9101
BOOT_FAULT_MINOR 0x5100
CANNOT_DETERMINE_DATE_FOR_AUTOTEST 0x5101
Any help would be appreciated
Hans Frederick
Physio Control Corporation
206 867-4688
Technical Details
Message-ID:
<9601091714.AA19143@physio-control.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,7aaf8f3110d336fc,start X-Google-Attributes: gid11318c,public From: hfrederi@physio-control.com (Hans Frederick) Subject: Reqesting help with GNU Tools Date: 1996/01/09 Message-ID: <9601091714.AA19143@physio-control.com> X-Deja-AN: 134573131 distribution: gnu sender: daemon@cis.ohio-state.edu organization: GNUs Not Usenet newsgroups: gnu.gcc.help