[RFC] Stabs parsing regression from GDB 6.6 to GDB 6.6.90

Pedro Alves pedro_alves@portugalmail.pt
Sun Sep 23 10:17:00 GMT 2007


Joel Brobecker wrote:
> 
> I was thinking that not having the error that was originially reported
> would a good first step. If we could simply store the assembly file
> produced by Pierre's example and then verify that "ptype u" works...
> But now that I actually tried Pierre's example, I get no error at all,
> even after having verified that I do get an @s64-etc stabs. I'm not sure
> why...
> 

Are you on an LP64 host?

Changing this in read_huge_number:

-upper_limit = LONG_MAX / radix;
+upper_limit = 0x7fffffff / radix;

... will probably trigger it.

Cheers,
Pedro Alves





More information about the Gdb-patches mailing list