[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Intel P4[m]/Xeon Register Set



>>At 4:26 PM -0700 9/15/05, Brian D. McGrew wrote:
>>>Can anyone give me a recommendation for a mean of peeking at the
>>>register set on the P4 style of CPU from Linux?

[Tony Nelson wrote:]
>>GDB can do it.  Under what circumstances do you wish to peek at the
>>registers?

Top-posting corrected.

At 8:29 PM -0700 9/15/05, Brian D. McGrew wrote:
>I'm looking for generic way to peek at any and all registers on the CPU;
>of course I don't know which registers I'm looking for until I see them
>:-)

You can look at the registers of a process under GDB's control using GDB.
Register values change with each instruction executed.  Whenever the Linux
kernel switches tasks all the registers will be changed as well, a few
hundred times a second.  What do you want to do?
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson georgeanelson com>
      '                              <http://www.georgeanelson.com/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]