delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/11/22:17:54

Xref: news2.mv.net comp.os.msdos.djgpp:4862
From: mcl134 AT psu DOT edu (Mike LaPaglia)
Newsgroups: comp.os.msdos.djgpp
Subject: GDB and UNIONS
Date: Tue, 11 Jun 96 23:49:40 GMT
Organization: Penn State University, Center for Academic Computing
Lines: 12
Message-ID: <4pl0ml$1pan@hearst.cac.psu.edu>
NNTP-Posting-Host: nbppp99.cac.psu.edu
Keyword: UNIONS
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have some GDB questions:
        Has anyone had anyluck using GDB 4.12 with UNIONS in C++?
I am having the trouble that GDB will not recognize the union 
structure and just ignore the symbol table.  It wont access
to the union members for display.  I tried the same
code on a sun and GDB 4.15 worked fine, but I am not aware of 4.12 for 
djgpp.  Unless I missed something, which is highly likely.  
        Also, how can you restart a program in GDB without quitting and
reloading the program.  I would find much relief by not haing to retype
all my display commands each debug pass.
Thanks
Mike

- Raw text -


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