Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ginosko!usc!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!gryphon!oleg From: oleg@gryphon.COM (Oleg Kiselev) Newsgroups: comp.unix.questions Subject: Re: dbx thinks pointer is int Message-ID: <21191@gryphon.COM> Date: 22 Oct 89 10:54:20 GMT References: <1161@msa3b.UUCP> Reply-To: oleg@gryphon.COM (Oleg Kiselev) Organization: HASA Lines: 18 In article <1161@msa3b.UUCP> kevin@msa3b.UUCP (Kevin P. Kleinfelter) writes: >I am running dbx on a large program. I have clearly defined "int *kpk;". >However, when I tell dbx to "p kpk" it displays an integer, and when I >tell it to "p *kpk" it tells me '"kpk" is not a pointer'. If I move >the declaration inside the "main" function, dbx behaves normally. ... >This is all under AIX PS/2 v1.1. >Am I confused, or is dbx? dbx. It's a bug, I have run into it as well. File an APAR. 370 version of dbx does not have these problems. -- "No regrets, no apologies" Ronald Reagan Oleg Kiselev ARPA: lcc.oleg@seas.ucla.edu, oleg@gryphon.COM (213)337-5230 UUCP: [world]!{ucla-se|gryphon}!lcc!oleg