mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-26 03:27:18 +00:00
AAganichev's parse_stab_type size fix.
This commit is contained in:
parent
41f5a528d2
commit
944e5c61c8
@ -1,3 +1,8 @@
|
||||
2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
|
||||
|
||||
* stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
|
||||
struct debug_type stores size in bytes.
|
||||
|
||||
2000-07-01 Alan Modra <alan@linuxcare.com.au>
|
||||
|
||||
* Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed
|
||||
|
@ -1261,6 +1261,7 @@ parse_stab_type (dhandle, info, typename, pp, slotp)
|
||||
{
|
||||
case 's':
|
||||
size = atoi (attr + 1);
|
||||
size /= 8; /* Size is in bits. We store it in bytes. */
|
||||
if (size <= 0)
|
||||
size = -1;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user