aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-04-23 17:36:08 +0000
committerNick Clifton <nickc@redhat.com>2003-04-23 17:36:08 +0000
commit3f7de0e75e3af06d979c591dafb63ce87dc40515 (patch)
tree7e45364523745deadef276871273c39677aba56e /binutils/readelf.c
parent834216a99a41614c9d422f64272b7ec187d0d703 (diff)
downloadgdb-3f7de0e75e3af06d979c591dafb63ce87dc40515.zip
gdb-3f7de0e75e3af06d979c591dafb63ce87dc40515.tar.gz
gdb-3f7de0e75e3af06d979c591dafb63ce87dc40515.tar.bz2
Fix "readelf -wi" test
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index f66ea42..8d4917a 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -7727,7 +7727,8 @@ decode_location_expression (data, pointer_size, length)
}
/* Separate the ops. */
- printf ("; ");
+ if (data < end)
+ printf ("; ");
}
}