This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Automatic cast off "union tree" in gdb


Hi, When stepping through gcc with gdb: is there a way
 to be able to make gdb automatically cast a "union tree" to the
 correct struct depending on the union tree's type?  A "p <tree>"
  will print out all unions. I'd not want to do a cast all the time.
 -- Konrad


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]