This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
Re: PATCH: printing elements of typedef'ed arrays
- To: Elena Zannoni <ezannoni at cygnus dot com>
- Subject: Re: PATCH: printing elements of typedef'ed arrays
- From: Jim Kingdon <kingdon at redhat dot com>
- Date: 09 Mar 2000 13:54:28 -0800
- CC: gdb at sourceware dot cygnus dot com
- References: <14535.61520.477880.709189@kwikemart.cygnus.com>
> When an array is typedeffed, like in this example:
That patch looks right to me, nice catch.
<geezer mode>gosh, this new-fangled check_typedef stuff sure is cool!
GDB shore never used ta do that kinda' trick.
$ ./gdb ./gdb
. . .
(top-gdb) whatis stop_pc
type = CORE_ADDR
(top-gdb) ptype stop_pc
type = long unsigned int
(top-gdb) quit
</geezer>