ptype in GDB

deepak shekhar
Tue Jun 12 03:10:00 GMT 2001

I am porting the GCC toolset for a hypothetical processor. My processor integer size is 3 bytes.I am using "stabs" debugging format. I have successfully ported gcc,binutils,gdb for my processor.
When i debug a program (using ported gdb) compiled by  ported compiler, and use the command "ptype <variable>" (where the variable is of type integer) the gdb returns saying "type=<range type>".The comment in the code says this should not occur.

can somebody tell what could be the reason for this?? and do io rectify this???

thanks in advance

Chat with your friends as soon as they come online. Get Rediff Bol at

More information about the Gdb mailing list