- 1,902
- 3
I notice with gdb/linux each instruction is offset by 5 while debug/dos each instruction is offset by 3. What is linux doing that dos isn't?
The discussion highlights the consistent instruction offset differences between gdb on Linux and debug on DOS, specifically noting that Linux exhibits an offset of 5 while DOS maintains an offset of 3. The users confirm that the programs were compiled using different assemblers and linkers: MASM for DOS and NASM for Linux. This discrepancy is attributed to the different compilation and linking processes utilized by the respective environments.
PREREQUISITESSoftware developers, system programmers, and anyone involved in cross-platform assembly language development and debugging.