Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!hp-pcd!hpfcso!stroyan From: stroyan@hpfcso.FC.HP.COM (Mike Stroyan) Newsgroups: comp.sys.hp Subject: Re: xdb bug? Message-ID: <7370386@hpfcso.FC.HP.COM> Date: 4 May 91 23:37:29 GMT References: <1991Apr30.152402.29377@eye.com> Organization: Hewlett-Packard, Fort Collins, CO, USA Lines: 18 > 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 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?) > Paul B. Booth (paul@eye.com) (...!hplabs!hpfcla!eye!paul) The problem is that xdb assumes that all structs of type "struct foo" will be the same as the first struct of type "struct foo" that it encounters in the link sequence. If you link the file that you are debugging before any other that uses the same names for structs, then the debugger will act in a reasonable manner. This problem is coming to the 300 series in 8.0. It is a design shortcoming that crept in along with some major debugger performance improvements. Mike Stroyan, mike_stroyan@fc.hp.com