aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote-st2000.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-09-09 04:09:56 +0000
committerStu Grossman <grossman@cygnus>1992-09-09 04:09:56 +0000
commited3f6049b487b585b9ebaf6f0847c9df271719ec (patch)
tree8539da381f4287454e753bbd7b1cd5a14835b06e /gdb/remote-st2000.c
parenta904db53486bd7ac244a83e59e3274eb869575f4 (diff)
downloadgdb-ed3f6049b487b585b9ebaf6f0847c9df271719ec.zip
gdb-ed3f6049b487b585b9ebaf6f0847c9df271719ec.tar.gz
gdb-ed3f6049b487b585b9ebaf6f0847c9df271719ec.tar.bz2
* serial.h: Fix prototye for serial_raw().
* ser-bsd.c, ser-termios.c: Fix args for serial_open() & serial_write() to match prototypes. * remote-st2000.c (get_reg_name): Make *p be const.
Diffstat (limited to 'gdb/remote-st2000.c')
-rw-r--r--gdb/remote-st2000.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-st2000.c b/gdb/remote-st2000.c
index 4fddb3c..0c70ec0 100644
--- a/gdb/remote-st2000.c
+++ b/gdb/remote-st2000.c
@@ -399,7 +399,8 @@ get_reg_name (regno)
int regno;
{
static char buf[50];
- char *p, *b;
+ const char *p;
+ char *b;
b = buf;