aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 02:18:39 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-01-28 02:18:39 +0000
commit9c41f6a6804548bc0c0a00968459a452bb2a0ff4 (patch)
tree0851feda3649c9e9197e78eb66fabbcbf4e7b6b5 /gdb/main.c
parent81f6013aa2448ca035e72d1b6343c87ffd488f0f (diff)
downloadgdb-9c41f6a6804548bc0c0a00968459a452bb2a0ff4.zip
gdb-9c41f6a6804548bc0c0a00968459a452bb2a0ff4.tar.gz
gdb-9c41f6a6804548bc0c0a00968459a452bb2a0ff4.tar.bz2
* main.c (baud_rate): Add FIXME comment about printing -1 value.
* remote-utils.c (usage): Fix message to be accurate and conform more closely to normal conventions. * remote-utils.c (gr_files_info): Have the exec_bfd test control whether to show information about exec_bfd, and not control whether to show information about device and speed. * remote-utils.c (gr_open): If sr_get_device returns NULL, give usage message, don't dump core. * remote-bug.c (bug_write_memory): Use alloca, not GCC extension for variable size array. (bug_fetch_register, bug_store_register): Rename "value" to "fpreg_buf" because some compilers don't like variables whose names are the same as types. (bug_store_register): Use a cast when converting char * to unsigned char *.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 0a6090e..2cdabaf 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -306,6 +306,8 @@ int linesize = 100;
/* Baud rate specified for talking to serial target systems. Default
is left as -1, so targets can choose their own defaults. */
+/* FIXME: This means that "show remotebaud" and gr_files_info can print -1
+ or (unsigned int)-1. This is a Bad User Interface. */
int baud_rate = -1;