Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!kuhub.cc.ukans.edu!brownrigg From: brownrigg@kuhub.cc.ukans.edu Newsgroups: comp.unix.aux Subject: Coping with sdb...help! Message-ID: <26960.2742fa7a@kuhub.cc.ukans.edu> Date: 16 Nov 90 01:28:42 GMT Organization: University of Kansas Academic Computing Services Lines: 23 To all you sbd gurus out there: Suppose one has an app. that utilizes dynamic data structures, say a linked- list, whose nodes will point to struct.s of varying type. So are list's nodes look like: Say typedef struct LLNODE { struct LLNODE *successor; void *object; } Presumably the struct pointed to by object has info. in it that tells us how to interpret it. The problem I'm experiencing is apparently I can't use a typecast from within sdb on *object, to examine it. From other hints during program execution, I know what type of struct *object is pointing to. But I REALLY need to be able to look at that memory in terms of the struct -- not just a collection ofOA --Am I overlooking something in the doc.s? --Are there tricks people employ to get around this? --Any suggestions?