This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] Expand variables to accommodate LONGEST enumval


> gdb/ChangeLog:
> 
> 	* m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST.
> 	* p-valprint.c (pascal_type_print_base): Likewise.

Looks good to me. I am overstepping my bounds a little, but for such
a small change, I think it'll be OK.

Looking at the code, I think that the variable definitions can be moved
inside the block where they are actually used. But that's for another
patch.

-- 
Joel


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