aboutsummaryrefslogtreecommitdiff
path: root/binutils/rddbg.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2002-05-23 04:11:57 +0000
committerKazu Hirata <kazu@codesourcery.com>2002-05-23 04:11:57 +0000
commit53c7db4bbb8b5cd0b5e52f2edfe4f79ece93d433 (patch)
treec0c49d3b0064b17252de7d68a74f8aeca462050e /binutils/rddbg.c
parent9ee0b326c90957a2d90bad0673cf5ac1f9c4dbf7 (diff)
downloadgdb-53c7db4bbb8b5cd0b5e52f2edfe4f79ece93d433.zip
gdb-53c7db4bbb8b5cd0b5e52f2edfe4f79ece93d433.tar.gz
gdb-53c7db4bbb8b5cd0b5e52f2edfe4f79ece93d433.tar.bz2
* rdcoff.c: Fix formatting.
* rddbg.c: Likewise. * readelf.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * resrc.c: Likewise. * resres.c: Likewise.
Diffstat (limited to 'binutils/rddbg.c')
-rw-r--r--binutils/rddbg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/binutils/rddbg.c b/binutils/rddbg.c
index e6ace77..3430c02 100644
--- a/binutils/rddbg.c
+++ b/binutils/rddbg.c
@@ -185,7 +185,7 @@ read_section_stabs_debugging_info (abfd, syms, symcount, dhandle, pfound)
char *f, *s;
f = NULL;
-
+
if (stroff + strx > strsize)
{
fprintf (stderr, "%s: %s: stab entry %d is corrupt, strx = 0x%x, type = %d\n",
@@ -193,9 +193,9 @@ read_section_stabs_debugging_info (abfd, syms, symcount, dhandle, pfound)
(stab - stabs) / 12, strx, type);
continue;
}
-
+
s = (char *) strings + stroff + strx;
-
+
while (s[strlen (s) - 1] == '\\'
&& stab + 12 < stabs + stabsize)
{