regno_reg_rtx and related macros

Jeffrey A Law law@cygnus.com
Fri Dec 31 23:54:00 GMT 1999


  In message < jmemcigpvo.fsf@envy.cygnus.com >you write:
 > Perhaps we could have both; for instance, if we have a macro
  > 
  > #define FOO(a,b,c) some_huge_computation + a + b + c
  > 
  > then, in a separate source file, do
  > 
  > int (FOO) (int a, int b, int c) { return FOO(a,b,c); }
  > 
  > this way you can write
  > 
  > print FOO(aa,bb,cc)
  > 
  > in the debugger.
  > 
  > This would be particularly useful for all those RTX accessor macros so
  > you don't have to remember which rtunion field you should be looking
  > at, and can copy-and-paste from source files into the debugger.
This seems like a great idea to me.

jeff









  > 
  > -- 
  > - Geoffrey Keating <geoffk@cygnus.com>
  > 
  > 




More information about the Gcc mailing list