aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-20 19:26:50 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-20 19:26:50 +0000
commit3fd3d7d29c5ea6ba2dff07fe353bac80fefce363 (patch)
tree1814112048b5c78deafd7c8ca1d911c3bc0ec7c3 /gdb/gdbserver
parent3e36a0f45e5df8f57422bcbe41b0d0a241b4159b (diff)
downloadgdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.zip
gdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.tar.gz
gdb-3fd3d7d29c5ea6ba2dff07fe353bac80fefce363.tar.bz2
Assume TARGET_BYTE_ORDER_SELECTABLE{,_P} is always true.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/low-sim.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbserver/low-sim.c b/gdb/gdbserver/low-sim.c
index e98b6c5..86a0406 100644
--- a/gdb/gdbserver/low-sim.c
+++ b/gdb/gdbserver/low-sim.c
@@ -88,10 +88,8 @@ create_inferior (char *program, char **argv)
{
bfd *abfd;
int pid = 0;
-#ifdef TARGET_BYTE_ORDER_SELECTABLE
char **new_argv;
int nargs;
-#endif
abfd = bfd_openr (program, 0);
if (!abfd)
@@ -108,7 +106,6 @@ create_inferior (char *program, char **argv)
exit (1);
}
-#ifdef TARGET_BYTE_ORDER_SELECTABLE
/* Add "-E big" or "-E little" to the argument list depending on the
endianness of the program to be loaded. */
for (nargs = 0; argv[nargs] != NULL; nargs++) /* count the args */
@@ -120,7 +117,6 @@ create_inferior (char *program, char **argv)
new_argv[nargs + 1] = bfd_big_endian (abfd) ? "big" : "little";
new_argv[nargs + 2] = NULL;
argv = new_argv;
-#endif
/* Create an instance of the simulator. */
default_callback.init (&default_callback);