2010-02-18 Harald Koenig <H.Koenig@science-computing.de>
* mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'. * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
This commit is contained in:
parent
f421f24f33
commit
202b96c1a6
@ -1,3 +1,8 @@
|
||||
2010-02-18 Harald Koenig <H.Koenig@science-computing.de>
|
||||
|
||||
* mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
|
||||
* symfile.c (symfile_map_offsets_to_segments): Fix assertion.
|
||||
|
||||
2010-02-17 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* NEWS: Add Python API Improvements section.
|
||||
|
@ -190,7 +190,7 @@ void
|
||||
mi_cmd_exec_jump (char *args, char **argv, int argc)
|
||||
{
|
||||
/* FIXME: Should call a libgdb function, not a cli wrapper. */
|
||||
return mi_execute_async_cli_command ("jump", argv, argc);
|
||||
mi_execute_async_cli_command ("jump", argv, argc);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user