Fix for failing gdb.base/auxv.exp on Linux
This commit is contained in:
parent
becf64774c
commit
7c6467a4fb
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
|
||||
|
||||
* auxv.c (fprint_target_auxv): Stop at AT_NULL.
|
||||
|
||||
2008-07-15 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* valops.c (value_cast_pointers): Follow typedefs when checking
|
||||
|
|
|
@ -246,6 +246,8 @@ fprint_target_auxv (struct ui_file *file, struct target_ops *ops)
|
|||
break;
|
||||
}
|
||||
++ents;
|
||||
if (type == AT_NULL)
|
||||
break;
|
||||
}
|
||||
|
||||
xfree (data);
|
||||
|
|
Loading…
Reference in a new issue