Fix for failing gdb.base/auxv.exp on Linux

This commit is contained in:
Paul Pluzhnikov 2008-07-17 20:56:11 +00:00
parent becf64774c
commit 7c6467a4fb
2 changed files with 6 additions and 0 deletions

View file

@ -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> 2008-07-15 Andreas Schwab <schwab@suse.de>
* valops.c (value_cast_pointers): Follow typedefs when checking * valops.c (value_cast_pointers): Follow typedefs when checking

View file

@ -246,6 +246,8 @@ fprint_target_auxv (struct ui_file *file, struct target_ops *ops)
break; break;
} }
++ents; ++ents;
if (type == AT_NULL)
break;
} }
xfree (data); xfree (data);