From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3571 invoked by alias); 6 Aug 2007 18:46:28 -0000 Received: (qmail 3521 invoked by uid 22791); 6 Aug 2007 18:46:27 -0000 X-Spam-Check-By: sourceware.org Received: from vms042pub.verizon.net (HELO vms042pub.verizon.net) (206.46.252.42) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 06 Aug 2007 18:46:22 +0000 Received: from ultsol.com ([72.74.235.69]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JMD004SC84QONR0@vms042.mailsrvcs.net> for gdb@sourceware.org; Mon, 06 Aug 2007 13:46:03 -0500 (CDT) Date: Mon, 06 Aug 2007 18:46:00 -0000 From: "Fahd Abidi" Subject: trying to use gdb to disassemble a binary file To: Message-id: <071DB0C788671B48940BC79F8B49306918A858@ultsol01.tewks.ultsol.local> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable Content-class: urn:content-classes:message X-Ninja-PIM: Scanned by Ninja X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00060.txt.bz2 Hello, I am trying to use GDB to disassemble a binary file. I have no problems when gdb connects to a target board (running a PC440) and viewing the disassembly via the display command, (gdb)x /10i$0xfffff000. But GDB does will not recognize or open a binary file format. It might not be the right tool to use, I really just want to open a binary file in gdb and view the disassembly. Is that possible? Fahd =20