Re: Question: Checking register value in buffer

Daniel Jacobowitz
2005-05-19T03:33:44Z

On Thu, May 19, 2005 at 01:23:32PM +1000, Joel Brobecker wrote:
> Isn't this assument that LONGEST is exactly 64 bits? I think
> extract_signed_integer expands the value held in the given buffer
> to fit the size of LONGEST. Here is the implementation:

If you're confusing yourself with sign extension, use ULONGEST instead.
But this isn't the only thing that would break in GDB with 128-bit
types. You really don't need to be this paranoid.

--
Daniel Jacobowitz
CodeSourcery, LLC