This preview shows page 1. Sign up to view the full content.
Unformatted text preview: t breakpoint at address 0x80483c3 Delete breakpoint 1 Delete all breakpoints Execute one instruction Execute four instructions Like stepi, but proceed through function calls Resume execution Run until current function returns Disassemble current function Disassemble function sum Disassemble function around address 0x80483b7 Disassemble code within speciﬁed address range Print program counter in hex Print contents of %eax in decimal Print contents of %eax in hex Print contents of %eax in binary Print decimal representation of 0x100 Print hex representation of 555 Print contents of %ebp plus 8 in hex Print integer at address 0xbffff890 Print integer at address %ebp + 8 Examine two (4-byte) words starting at address 0xbffff890 Examine ﬁrst 20 bytes of function sum Information about current stack frame Values of all the registers Get information about GDB Figure 3.26: Example G DB Commands. These examples illustrate some of the ways GDB supports debugging of machine-level programs. 3.13. OUT-...
View Full Document
This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.
- Spring '10
- The American