diff options
author | Rob Savoye <rob@cygnus> | 1994-12-30 01:26:37 +0000 |
---|---|---|
committer | Rob Savoye <rob@cygnus> | 1994-12-30 01:26:37 +0000 |
commit | cf51c6017e2e5203d69b10c51f53d616a1ad61e4 (patch) | |
tree | f984e2b4977aa443bd887314adc474b3f7c4b611 /gdb/monitor.h | |
parent | d383e289df067174b33dcae9b858b8b1d79f9319 (diff) | |
download | binutils-gdb-cf51c6017e2e5203d69b10c51f53d616a1ad61e4.tar.gz |
* monitor.[ch], op50-rom.c, rom68k-rom.c, w89k-rom.c: Add support
to monitor config structure for supported baud rates for a target
and variable stop bits.
* monitor.c (monitor_fetch_register): Store register values in big
endian format on any host.
Diffstat (limited to 'gdb/monitor.h')
-rw-r--r-- | gdb/monitor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/monitor.h b/gdb/monitor.h index f3aff8cb466..aa3fc7032c1 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -48,6 +48,8 @@ struct monitor_ops { struct target_ops *target; /* target operations */ char *loadtypes; /* the load types that are supported */ char *loadprotos; /* the load protocols that are supported */ + char *baudrates; /* supported baud rates */ + int stopbits; /* number of stop bits */ char **regnames; /* array of register names in ascii */ }; @@ -73,6 +75,8 @@ extern struct monitor_ops *current_monitor; #define PROMPT (current_monitor->prompt) #define TARGET_OPS (current_monitor->target) #define TARGET_NAME (current_monitor->target->to_shortname) +#define BAUDRATES (current_monitor->baudrates) +#define STOPBITS (current_monitor->stopbits) #define REGNAMES(x) (current_monitor->regnames[x]) #define ROMCMD(x) (x.cmd) #define ROMDELIM(x) (x.delim) |