* top.c (target_byte_order_auto): New static variable.
authorIan Lance Taylor <ian@airs.com>
Fri, 7 Oct 1994 16:20:21 +0000 (16:20 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 7 Oct 1994 16:20:21 +0000 (16:20 +0000)
commitb83ed0195247c47e3474449297653a4144c3e55d
treeef142ea7061f84fa050143d2a1d4941a0c83ca7e
parentc9228cfe645063f83bbff04d2839d8e38030edc2
* top.c (target_byte_order_auto): New static variable.
(set_endian): Mention that ``auto'' is permitted.
(set_endian_auto): New static function.
(show_endian): Change message based on target_byte_order_auto.
(set_endian_from_file): New function.
(init_main): Add command ``auto'' to endianlist.
* exec.c (exec_file_command): Call set_endian_from_file.
* defs.h (set_endian_from_file): Declare.
gdb/ChangeLog
gdb/exec.c
gdb/top.c