Author Topic: how to see xmm register?  (Read 4679 times)

Offline reverser

  • Multiple posting newcomer
  • *
  • Posts: 17
how to see xmm register?
« on: August 08, 2021, 07:05:21 am »
hi all

I'm trying to see asm code of every c++ function I write. but I cant view xmm registers. cpu register window only shows normal registers + flags. any help?

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: how to see xmm register?
« Reply #1 on: August 08, 2021, 09:29:56 am »
Currently C::B supports the GDB "info registers" command to get the registers to then display them.  You can use the GDB "info all-registers" commann via the Debugger tab to get all of the registers that this GDB command supports on the particular CPU you are using, which looks like it will do what you want on the CPU I have.

Sounds like you need to read up on GDB and how to use it if you want to look at the machine code the compiler generated.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: how to see xmm register?
« Reply #2 on: August 08, 2021, 06:50:29 pm »
reverser: You can add a $xmm0, $xmm1 or other registers names as watches in the watches windows and it will display them.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]