aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-load.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-03-15 03:16:17 +0000
committerMike Frysinger <vapier@gentoo.org>2011-03-15 03:16:17 +0000
commit028f6515424e832ee10a1e4cb1f96ea241e2acae (patch)
treec8ce68621a3ed2425b8dde4e2f523cbae0bf11fe /sim/common/sim-load.c
parent7f35e991971df570411a2688b948cd72adb4cf90 (diff)
downloadgdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.zip
gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.gz
gdb-028f6515424e832ee10a1e4cb1f96ea241e2acae.tar.bz2
sim: common: trim trailing whitespace
Diffstat (limited to 'sim/common/sim-load.c')
-rw-r--r--sim/common/sim-load.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/common/sim-load.c b/sim/common/sim-load.c
index 698d1c1..9b26ebb 100644
--- a/sim/common/sim-load.c
+++ b/sim/common/sim-load.c
@@ -82,13 +82,13 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write)
result_bfd = bfd_openr (prog, 0);
if (result_bfd == NULL)
{
- eprintf (callback, "%s: can't open \"%s\": %s\n",
+ eprintf (callback, "%s: can't open \"%s\": %s\n",
myname, prog, bfd_errmsg (bfd_get_error ()));
return NULL;
}
}
- if (!bfd_check_format (result_bfd, bfd_object))
+ if (!bfd_check_format (result_bfd, bfd_object))
{
eprintf (callback, "%s: \"%s\" is not an object file: %s\n",
myname, prog, bfd_errmsg (bfd_get_error ()));
@@ -102,9 +102,9 @@ sim_load_file (sd, myname, callback, prog, prog_bfd, verbose_p, lma_p, do_write)
start_time = time (NULL);
found_loadable_section = 0;
- for (s = result_bfd->sections; s; s = s->next)
+ for (s = result_bfd->sections; s; s = s->next)
{
- if (s->flags & SEC_LOAD)
+ if (s->flags & SEC_LOAD)
{
bfd_size_type size;