Code::Blocks Forums

User forums => Help => Topic started by: reverser on August 08, 2021, 07:05:21 am

Title: how to see xmm register?
Post by: reverser 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?
Title: Re: how to see xmm register?
Post by: AndrewCot 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.
Title: Re: how to see xmm register?
Post by: oBFusCATed 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.