aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-08-27 07:45:50 +0000
committerAndrew Cagney <cagney@redhat.com>1997-08-27 07:45:50 +0000
commit750b7942964c37db092d613eef64eff6dd5de7f3 (patch)
tree2707565d7b2e535137d6c441d2d2eecbf1cedf7b /gdb/defs.h
parent2f88c3244e1f5caabec33e020425fe4710a95fc7 (diff)
downloadgdb-750b7942964c37db092d613eef64eff6dd5de7f3.zip
gdb-750b7942964c37db092d613eef64eff6dd5de7f3.tar.gz
gdb-750b7942964c37db092d613eef64eff6dd5de7f3.tar.bz2
Only pass endianess to simulator when explicitly set by user with set
endian. Prepend endian argument so that it can be overriden with target sim -ARGS.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 65558e0..94725a9 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -758,6 +758,8 @@ extern void free ();
#undef TARGET_BYTE_ORDER
#define TARGET_BYTE_ORDER target_byte_order
extern int target_byte_order;
+/* Nonzero when target_byte_order auto-detected */
+extern int target_byte_order_auto;
#endif
extern void set_endian_from_file PARAMS ((bfd *));
@@ -1004,7 +1006,7 @@ struct target_waitstatus;
struct cmd_list_element;
#endif
-extern void (*init_ui_hook) PARAMS ((void));
+extern void (*init_ui_hook) PARAMS ((char *argv0));
extern void (*command_loop_hook) PARAMS ((void));
extern void (*fputs_unfiltered_hook) PARAMS ((const char *linebuffer,
FILE *stream));