I use DJGPP to build the bran's OS successfully.
but I can not use objdump(DJGPP) to get the full information of kernel.bin
objdump -b binary -x kernel.bin
kernel.bin: file format binary
kernel.bin
architecture: UNKNOWN!, flags 0x00000000:
start address 0x00000000
Sections:
Idx Name Size VMA LMA File off Algn
0 .data 00002000 00000000 00000000 00000000 2**0
CONTENTS, ALLOC, LOAD, DATA
SYMBOL TABLE:
no symbols
how can I objdump the kernel.bin for bran's OS
Re: how can I objdump the kernel.bin for bran's OS
I know objdump is for object file... I saw somewehe there is a such tool for binaries, you should search it
Re: how can I objdump the kernel.bin for bran's OS
Hi,
If you are using raw binary format, the best you can hope for is a disassembly, not a full dump containing section information. This is because a raw binary executable is just that - no symbolic information is stored fo objdump to find.
If you want debug information, try a formatted binary such as ELF.
Cheers,
Adam
If you are using raw binary format, the best you can hope for is a disassembly, not a full dump containing section information. This is because a raw binary executable is just that - no symbolic information is stored fo objdump to find.
If you want debug information, try a formatted binary such as ELF.
Cheers,
Adam
Re: how can I objdump the kernel.bin for bran's OS
thank both of you very much