aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-02-07 02:51:28 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-02-07 02:51:28 +0000
commitc3864421222b5f12f72cdb671d246e075eb7839e (patch)
treed2faf1966f8003d04df4c2b825d58075efc224ab /bfd/aoutx.h
parentb80f2c6aabb92ecbbf36c353d2b4f5d022cb3a9a (diff)
downloadgdb-c3864421222b5f12f72cdb671d246e075eb7839e.zip
gdb-c3864421222b5f12f72cdb671d246e075eb7839e.tar.gz
gdb-c3864421222b5f12f72cdb671d246e075eb7839e.tar.bz2
* aoutx.h (NAME(aout,find_nearest_line)): Correct case for N_SO
being the last symbol.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 2171e84..beb63f9 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -2748,7 +2748,7 @@ NAME(aout,find_nearest_line)
/* Look ahead to next symbol to check if that too is an N_SO. */
p++;
if (*p == NULL)
- break;
+ goto done;
q = (aout_symbol_type *) (*p);
if (q->type != (int)N_SO)
goto next;