This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: printing elements of typedef'ed arrays


> 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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]