* main.c: Make baud_rate and remote_debug be global variables,
authorStu Grossman <grossman@cygnus>
Thu, 21 Oct 1993 00:49:42 +0000 (00:49 +0000)
committerStu Grossman <grossman@cygnus>
Thu, 21 Oct 1993 00:49:42 +0000 (00:49 +0000)
commitd0d8484a4a8b7c803473eaadb4a30513cd8b8d09
treedf9a1980445b2eca7743d5f58970c8fae8947c5c
parentfc81adb803b6f43bc80ebb049472b660bd2e33fa
* main.c:  Make baud_rate and remote_debug be global variables,
remove #include "remote-utils.h".  This makes it possible to build
GDB without remote-utils.c.  Also, move setting of remote_debug
into main, so that all remote*.c files can use it (not just the
serial line ones).  And, make baud_rate be an int.
* remote-udi.c:  Change kiodebug to remote_debug.
* remote-utils.c:  Move setting of baud rate and debug into main.c.
* remote-utils.h:  Redefine sr_{get set}_debug and sr_{get set}_baud
to use baud_rate and remote_debug globals for compatibility.
* remote.c:  Use remote_debug and baud_rate globals directly,
instead of sr_ functions, so that we don't need to load
remote-utils.c.
gdb/ChangeLog
gdb/main.c
gdb/remote-udi.c
gdb/remote-utils.c
gdb/remote-utils.h
gdb/remote.c
This page took 0.024187 seconds and 4 git commands to generate.