aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-02-18 19:17:00 +0000
committerPedro Alves <palves@redhat.com>2010-02-18 19:17:00 +0000
commit202b96c1a6b0cd635006a5773ac6e6c820c54bba (patch)
treefc53658b53a10341019b1af66c6ade15b2792333 /gdb/symfile.c
parentf421f24f33f6e7ac1d93205d1adbc586cee4c0a8 (diff)
downloadgdb-202b96c1a6b0cd635006a5773ac6e6c820c54bba.zip
gdb-202b96c1a6b0cd635006a5773ac6e6c820c54bba.tar.gz
gdb-202b96c1a6b0cd635006a5773ac6e6c820c54bba.tar.bz2
2010-02-18 Harald Koenig <H.Koenig@science-computing.de>gdb_7_1-branchpoint
* mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'. * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 6f455a2..53266a7 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -3715,7 +3715,7 @@ symfile_map_offsets_to_segments (bfd *abfd, struct symfile_segment_data *data,
/* It doesn't make sense to call this function unless you have some
segment base addresses. */
- gdb_assert (segment_bases > 0);
+ gdb_assert (num_segment_bases > 0);
/* If we do not have segment mappings for the object file, we
can not relocate it by segments. */