diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-07-17 20:56:11 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-07-17 20:56:11 +0000 |
commit | 7c6467a4fb67c04f23f44969a4705f99809501e3 (patch) | |
tree | 7ba076a0ce1ba0119c07baf47dec116cc3f8ac6b /gdb | |
parent | becf64774cdedd594ecd268e5822bf7fc60333bc (diff) | |
download | gdb-7c6467a4fb67c04f23f44969a4705f99809501e3.zip gdb-7c6467a4fb67c04f23f44969a4705f99809501e3.tar.gz gdb-7c6467a4fb67c04f23f44969a4705f99809501e3.tar.bz2 |
Fix for failing gdb.base/auxv.exp on Linux
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/auxv.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index de6dbc2..a02b93a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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); |