delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/01/31/04:28:46

Date: Mon, 31 Jan 1994 17:08:36 +22311259 ()
From: Ron Grunwald <rgrunwal AT bluering DOT cowan DOT edu DOT au>
Subject: GCC cannot recognize the 386's Debug regs.
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

Dear G++ programmers,

Over the weekend I tried to use the 80386's Debug registers with the
G++ compiler. However it seems that they cannot be used. I've used the
following instructions:

asm(" mov    %eax,%d0   ");
asm(" mov    %eax,%dr0  ");

In both instances the assembler came up with the error message:
"Bad register name (%d0)"

Is there a way to use the Debug registers with GCC? Any information relating
to this problem would be well appreciated.


Regards,
         Ronald.

 +----------------------------------------------------------------------+
 | Author             : Ronald Grunwald                                 | 
 | Internet           : rgrunwal AT bluering DOT cowan DOT edu DOT au                  | 
 | Department         : Information Technology                          | 
 | Division/Faculty   : Operations and Systems Management               | 
 | Institution        : Edith Cowan University, Churchlands Campus      | 
 | Location           : Perth, Western Australia                        |
 +----------------------------------------------------------------------+


 



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019