From 9c41f6a6804548bc0c0a00968459a452bb2a0ff4 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 28 Jan 1994 02:18:39 +0000 Subject: * 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 *. --- gdb/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/main.c') 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; -- cgit v1.1