aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-10-27 14:06:45 +0000
committerAlan Modra <amodra@gmail.com>2003-10-27 14:06:45 +0000
commit9376f0c73d2141373b36fe8120fa603c36f794fc (patch)
tree753e273755bf480cfcfc8f3ac065ffc4d4d1e694 /binutils
parent36d86913b56cf8925b15fd47c1daeb70a739e09a (diff)
downloadgdb-9376f0c73d2141373b36fe8120fa603c36f794fc.zip
gdb-9376f0c73d2141373b36fe8120fa603c36f794fc.tar.gz
gdb-9376f0c73d2141373b36fe8120fa603c36f794fc.tar.bz2
* readelf.c (dump_section): Don't display DEL characters.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 72db755..5705585 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2003-10-28 Segher Boessenkool <segher@kernel.crashing.org>
+
+ * readelf.c (dump_section): Don't display DEL characters.
+
2003-10-27 Kazu Hirata <kazu@cs.umass.edu>
* ChangeLog: Fix typos.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index f9f17f7..629db76 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -6115,7 +6115,7 @@ dump_section (Elf_Internal_Shdr *section, FILE *file)
for (j = 0; j < lbytes; j++)
{
k = data[j];
- if (k >= ' ' && k < 0x80)
+ if (k >= ' ' && k < 0x7f)
printf ("%c", k);
else
printf (".");