aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-10-08 02:09:28 +0000
committerKen Raeburn <raeburn@cygnus>1992-10-08 02:09:28 +0000
commit6a1f93f6a28653ea37b3cf02b47a9ef7e67e2fdc (patch)
treefb9d2a1b96da363218a0cd51dbad56eb901c9198
parent6881ebf87da2a2bf466f4bc2a05cd05daecd6375 (diff)
downloadgdb-6a1f93f6a28653ea37b3cf02b47a9ef7e67e2fdc.zip
gdb-6a1f93f6a28653ea37b3cf02b47a9ef7e67e2fdc.tar.gz
gdb-6a1f93f6a28653ea37b3cf02b47a9ef7e67e2fdc.tar.bz2
* Makefile.in (nindy.o): Define "STRIP" as pathname of strip program.
* nindy-share/nindy.c (coffstrip): Use that pathname, instead of searching for a "bfd_strip" program. Also, fixed up arguments passed to that program. * tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r", which is now used for something else. Rewrite description of associated parameters to match how gdb does it now. (ADDITIONAL_OPTION_HELP): Fix message accordingly. * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
-rw-r--r--gdb/ChangeLog15
-rw-r--r--gdb/Makefile.in4
-rw-r--r--gdb/m68k-pinsn.c1
-rw-r--r--gdb/tm-nindy960.h10
4 files changed, 24 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e6c0ab4..5119c82 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,18 @@
+Wed Oct 7 12:24:01 1992 Ken Raeburn (raeburn@cygnus.com)
+
+ * Makefile.in (nindy.o): Define "STRIP" as pathname of strip
+ program.
+ * nindy-share/nindy.c (coffstrip): Use that pathname, instead of
+ searching for a "bfd_strip" program. Also, fixed up arguments
+ passed to that program.
+
+ * tm-nindy960.h (ADDITIONAL_OPTIONS): Use "-ser" rather than "-r",
+ which is now used for something else. Rewrite description of
+ associated parameters to match how gdb does it now.
+ (ADDITIONAL_OPTION_HELP): Fix message accordingly.
+
+ * m68k-pinsn.c (print_insn_arg): Handle new "`" operand type.
+
Tue Oct 6 14:47:11 1992 K. Richard Pixley (rich@sendai.cygnus.com)
NOTICE_SIGNAL_HANDLING_CHANGE macro added to the target vector as
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index b61417a..7a68be7 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -22,6 +22,7 @@ program_transform_name =
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
+tooldir = $(libdir)/$(target_alias)
datadir = $(prefix)/lib
mandir = $(prefix)/man
@@ -746,7 +747,8 @@ xdr_regs.o: ${srcdir}/vx-share/xdr_regs.c
${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/vx-share/xdr_regs.c
nindy.o: ${srcdir}/nindy-share/nindy.c
- ${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/nindy-share/nindy.c
+ ${CC} -c ${INTERNAL_CFLAGS} -DSTRIP='"$(tooldir)/bin/strip"' \
+ ${srcdir}/nindy-share/nindy.c
Onindy.o: ${srcdir}/nindy-share/Onindy.c
${CC} -c ${INTERNAL_CFLAGS} ${srcdir}/nindy-share/Onindy.c
diff --git a/gdb/m68k-pinsn.c b/gdb/m68k-pinsn.c
index 859d8d9..60c6c59 100644
--- a/gdb/m68k-pinsn.c
+++ b/gdb/m68k-pinsn.c
@@ -403,6 +403,7 @@ print_insn_arg (d, buffer, p, addr, stream)
case '?':
case '/':
case '&':
+ case '`':
if (place == 'd')
{
diff --git a/gdb/tm-nindy960.h b/gdb/tm-nindy960.h
index 520eb6b..7237278 100644
--- a/gdb/tm-nindy960.h
+++ b/gdb/tm-nindy960.h
@@ -37,12 +37,12 @@ extern int nindy_initial_brk; /* Send a BREAK to reset board first */
extern char *nindy_ttyname; /* Name of serial port to talk to nindy */
#define ADDITIONAL_OPTIONS \
- {"O", 0, &nindy_old_protocol, 1}, \
- {"brk", 0, &nindy_initial_brk, 1}, \
- {"r", 1, 0, 1004}, /* 1004 is magic cookie for ADDL_CASES */
+ {"O", no_argument, &nindy_old_protocol, 1}, \
+ {"brk", no_argument, &nindy_initial_brk, 1}, \
+ {"ser", required_argument, 0, 1004}, /* 1004 is magic cookie for ADDL_CASES */
#define ADDITIONAL_OPTION_CASES \
- case 1004: /* -r option: remote nindy auto-start */ \
+ case 1004: /* -ser option: remote nindy auto-start */ \
nindy_ttyname = optarg; \
break;
@@ -50,7 +50,7 @@ extern char *nindy_ttyname; /* Name of serial port to talk to nindy */
"\
-O Use old protocol to talk to a Nindy target\n\
-brk Send a break to a Nindy target to reset it.\n\
- -r SERIAL Open remote Nindy session to SERIAL port.\n\
+ -ser SERIAL Open remote Nindy session to SERIAL port.\n\
"
/* If specified on the command line, open tty for talking to nindy,