About 34,900 results
Open links in new tab
  1. How to print register values in GDB? - Stack Overflow

    Mar 25, 2011 · Bridgette's answer works for me. geekosaur's answer is mostly right, but you need to omit the % sign, so the command for a specific register is info registers eax. I'm not sure if …

  2. Using gdb to check register's values - Stack Overflow

    Nov 24, 2012 · Using gdb to check register's values Asked 13 years, 1 month ago Modified 13 years ago Viewed 23k times

  3. Printing string pointed to from Register in GDB - Stack Overflow

    Oct 6, 2012 · Printing string pointed to from Register in GDB Asked 13 years, 2 months ago Modified 13 years, 2 months ago Viewed 24k times

  4. How do I read the value of all registers with gdb? - Stack Overflow

    Apr 26, 2012 · See section of the GDB manual for a detailed information with examples. To print a value of the $fs register, you can do this: (gdb) p/x $fs $1 = 0x0 What x command does is …

  5. How to dump all the XMM registers in gdb? - Stack Overflow

    14 (gdb) apropos registers collect -- Specify one or more data items to be collected at a tracepoint core-file -- Use FILE as core dump for examining memory and registers info all-registers -- List …

  6. c - GDB Print Value Relative to Register - Stack Overflow

    13 Ok, so basically I'm wondering how to print the value of a memory address that is at an offset from the address stored in a register in GDB. For instance, take this assembly line:

  7. gdb with assembler: Print status of carry flag - Stack Overflow

    Jun 30, 2012 · I've got an x86 assembler program which I'm debugging with gdb. Is there a way to print the status of the carry flag inside gdb with, like, "print $cf"?

  8. How can I print in binary mode in GDB? - Stack Overflow

    Feb 2, 2024 · I tried b, but it seems not to work: (gdb) p/b 0x0000000000400398 Size letters are meaningless in "print" command. Is there such a switch?

  9. gdb - How to print value pointed by register - Stack Overflow

    Mar 18, 2017 · I am trying to learn asembly and reverse and whene i tryed to debug a simple chall i wanted to see my registers in gdb with info registers Rax 0x7fffffdd90 Now inwant to know …

  10. gdb - Print variables in hexadecimal or decimal format - Stack …

    Jan 31, 2018 · Currently, when I print the value of a variable v in GDB (print v) I get an integer. Is it possible to have GDB print such integer variables in hexadecimal or binary?