Newsgroups: comp.sys.hp Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!eye!paul From: paul@eye.com (Paul B. Booth) Subject: xdb bug? Message-ID: <1991Apr30.152402.29377@eye.com> Reply-To: paul@eye.com (Paul B. Booth) Organization: 3D/Eye Inc., Ithaca, NY Date: Tue, 30 Apr 91 15:24:02 GMT Hi there. I'm posting this for a colleague: Hello. I'm running xdb on an HP 835 workstation, HP-UX A/B7, and I've run into a most confusing problem. The manifestions of the problem are: o When I query the contents of a struct, the data is displayed in terms of field names of a different struct. (Not another instance of the same type of struct, but an altogether different struct type). o When I ask for the contents of a specific field within that struct variable, xdb responds that there is no such field associated with the variable. The facts are: o The program which I am debugging works. o When the contents of the struct variable are queried, the data that comes out is correct both in terms of what the values are and their placement in memory. It's just the raw data is being cast into incorrect field types. o I am unable to reproduce this behavior on s300 machines, but a co-worker has seen something very similar on her new 720 (an HP-PA link?) This problem seemed to have intermittently disappeared, through no apparent action of my own save repetitive re-copying of sources and makefiles and re-making of the image, but is now back again. Has anyone run into similar problems with xdb or know about a bug that I'm unaware of? What should I do? -- Paul B. Booth (paul@eye.com) (...!hplabs!hpfcla!eye!paul) ------------------------------------------------------------------------------- 3D/EYE, Inc., 2359 N. Triphammer Rd., Ithaca, NY 14850 voice: (607)257-1381 fax: (607)257-7335