This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: trying to use gdb to disassemble a binary file
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: "'Robert Bu'" <robert dot bu at gmail dot com>, <gdb at sourceware dot org>
- Date: Wed, 8 Aug 2007 13:13:30 +0100
- Subject: RE: trying to use gdb to disassemble a binary file
- References: <a0319f700708080206r7ae3c7b7l57ee8cd1560782aa@mail.gmail.com>
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
--
Can't think of a witty .sigline today....