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] Changing size of c_value in xcoffread.c to accomodate XCOFF 64BIT


Raunaq 12 wrote:

> > > Yes, I did not account for such a scenario. Changing the size of
> > > cs->c_value to 'long long' will suffice ?
> >
> > I think it really needs to be CORE_ADDR.  Note that "long long" shouldn't
> > be used in common code since on some systems / compilers this data type
> > isn't even available ...
> 
> Oh alright, assigning it to CORE_ADDR itself, thanks.
> This okay to check in ?
> 
> ChangeLog-
> 		 		  * xcoffread.c : Make coff_symbol->c_value
> 				  large enough to hold 64-bit address.
> 				  (read_xcoff_symtab): Make fcn_start_addr
> 				  large enough to hold 64-bit address.

This is OK.   I've checked it in now.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


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