From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24208 invoked by alias); 8 Aug 2007 13:10:39 -0000 Received: (qmail 24112 invoked by uid 22791); 8 Aug 2007 13:10:38 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.176) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 08 Aug 2007 13:10:33 +0000 Received: by py-out-1112.google.com with SMTP id f31so431279pyh for ; Wed, 08 Aug 2007 06:10:31 -0700 (PDT) Received: by 10.35.77.18 with SMTP id e18mr1508332pyl.1186578630032; Wed, 08 Aug 2007 06:10:30 -0700 (PDT) Received: by 10.35.111.6 with HTTP; Wed, 8 Aug 2007 06:10:29 -0700 (PDT) Message-ID: Date: Wed, 08 Aug 2007 13:10:00 -0000 From: "Robert Bu" To: dave.korn@artimi.com Subject: Re: trying to use gdb to disassemble a binary file Cc: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00083.txt.bz2 That's it. Thanks! Dave Korn 写道: > On 08 August 2007 10:07, Robert Bu wrote: > >> I can get the architecture information on my MIPS by >> "mips-elf-objcopy -I binary -O elf32-bigmips -B mips test.bin test.elf" >> >> However, is that possible to designate the entrypoint(start address) for >> the ELF file? The default seems to be 0x0. > > The man page suggests there is a "--set-start" option that sounds like it > should do what you want; have you tried it? > > > cheers, > DaveK