diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-02-26 20:13:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-02-26 20:13:18 +0000 |
commit | b6d373df1e5729606ff51f3947dd636eab6738b6 (patch) | |
tree | 4d83417c0f10a898bcd98764e03cce86189447b1 /gdb/arch-utils.h | |
parent | c74d0ad8276928d58b080ecd50eb5026aac49c5d (diff) | |
download | binutils-gdb-b6d373df1e5729606ff51f3947dd636eab6738b6.tar.gz |
* arch-utils.c (selected_byte_order): New.
* arch-utils.h (selected_byte_order): New prototype.
* remote-sim.c (gdbsim_open): Use selected_byte_order.
Diffstat (limited to 'gdb/arch-utils.h')
-rw-r--r-- | gdb/arch-utils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index d995fcbe2f2..d528d67daf0 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -118,6 +118,10 @@ int default_remote_register_number (struct gdbarch *gdbarch, extern int legacy_register_sim_regno (int regnum); +/* Return the selected byte order, or BFD_ENDIAN_UNKNOWN if no byte + order was explicitly selected. */ +extern enum bfd_endian selected_byte_order (void); + /* Return the selected architecture's name, or NULL if no architecture was explicitly selected. */ extern const char *selected_architecture_name (void); |