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: "Robert Bu" <robert dot bu at gmail dot com>
- To: dave dot korn at artimi dot com
- Cc: gdb at sourceware dot org
- Date: Wed, 8 Aug 2007 21:10:29 +0800
- Subject: Re: trying to use gdb to disassemble a binary file
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