dbx thinks pointer is int

Oleg Kiselev oleg at gryphon.COM
Sun Oct 22 20:54:20 AEST 1989


In article <1161 at msa3b.UUCP> kevin at 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 at seas.ucla.edu, oleg at gryphon.COM
(213)337-5230           UUCP: [world]!{ucla-se|gryphon}!lcc!oleg



More information about the Comp.unix.questions mailing list