约 74,200 个结果
在新选项卡中打开链接
  1. GDB: Print the value of memory address - Stack Overflow

    If you want the memory address of variable c, p&c would get the addre ss. What makes you think that 0x00000000004004 is memory address oc c? That address looks more like memory …

  2. How to use GDB to find what function a memory address …

    Use info symbol gdb command. 16 Examining the Symbol Table. info symbol addr Print the name of a symbol which is stored at the address addr. If no symbol is stored exactly at addr, gdb …

  3. c - Display value found at given address gdb - Stack Overflow

    I believe this last line will compare the value found at the indicated address: 8048f0b. I attempt: (gdb) x 0x8048f0b and receive: 0x8048f0b <strings_not_equal>: 0x57e58955 Am I interpreting …

  4. Using GDB and checking the memory layout of Data

    2) if I use GDB and and use x to get real memory addresses I get the following: On most desktops, and Linux in particular, the address shown is virtual, not 'real' (not actual). In …

  5. How to get the symbol name for a memory address in GDB?

    I believe you're looking for: info symbol <addresss> Print the name of a symbol which is stored at the address addr. If no symbol is stored exactly at addr, GDB prints the nearest symbol and an …

  6. gdb - Find the exact address of variable Buf - Stack Overflow

    The & operator will work when gdb is set to C language mode (and Objective-C). In any language mode you can use (gdb) info address buf Symbol "buf" is static storage at address 0x903278. …

  7. How can one see content of stack with GDB? - Stack Overflow

    I am new to GDB, so I have some questions: How can I look at content of the stack? Example: to see content of register, I type info registers. For the stack, what should it be? How can I see …

  8. GDB: Listing all mapped memory regions for a crashed process

    In GDB 7.2: (gdb) help info proc Show /proc process information about any running process. Specify any process id, or use the program being debugged by default. Specify any of the …

  9. Reading memory pointed by register with GDB - Stack …

    Is there a way to look at memory content from GDB if I know the memory location? Namely, I'm debugging a x86 assembly program I wrote for my Operating Systems Course. Now, I'm trying …

  10. C/GDB: display contents of address - Stack Overflow

    If you know the type of the structure at that address, you can coerce GDB to print it with: (gdb) print *(struct mystruct *) 0x8002bf20 If you do not know the type of the structure, then the best …