aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-11-03 22:58:48 +0000
committerPer Bothner <per@bothner.com>1991-11-03 22:58:48 +0000
commitb27d2046482bc4f2170c3ab14d4ec1c45a0a292b (patch)
tree75aef062f5dbef18afa5226cdd1c4ada9721d259
parente18e24af07c074be7e9288741a922065a6790f84 (diff)
downloadgdb-b27d2046482bc4f2170c3ab14d4ec1c45a0a292b.zip
gdb-b27d2046482bc4f2170c3ab14d4ec1c45a0a292b.tar.gz
gdb-b27d2046482bc4f2170c3ab14d4ec1c45a0a292b.tar.bz2
* Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
* ar.c (get_pos_bfd): Fix to handling of before/after positioning options. * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue, since libiberty contains vfprintf etc if otherwise missing. * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL type operands, as used by branch instructions. * nm.c: Delegate printing of symbols to BFD, by using bfd_print_symbol to do the formatting.
-rw-r--r--binutils/Makefile.in8
-rw-r--r--binutils/TODO2
-rw-r--r--binutils/m68k-pinsn.c33
3 files changed, 27 insertions, 16 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index b28370a..1583566 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -23,7 +23,7 @@ srcdir = .
destdir = /usr/local
# Distribution version
-VERSION=1.90
+VERSION=1.91
# Distribution name
DIST_NAME=binutils-beta-${VERSION}
@@ -224,11 +224,11 @@ install: $(PROGS)
dist: $(DIST_NAME).tar.Z
$(DIST_NAME).tar.Z:
- cd ../..; rm -f $(DISTNAME); ln -s devo $(DIST_NAME)
- cd ..; Sanitize test
- cd binutils; make binutils.mm -f Makefile.in
+ cd ../..; rm -f $(DIST_NAME); ln -s devo $(DIST_NAME)
+ make binutils.mm -f Makefile.in
cd ../ld; make ld.mm -f Makefile.in
cd ../..; tar chf - $(DIST_NAME) | compress >$(DIST_NAME).tar.Z
+ rm -rf ../../$(DIST_NAME)
# These get around a bug in Sun Make in SunOS 4.1.1
alloca.o:alloca.c
diff --git a/binutils/TODO b/binutils/TODO
index 971b57f..acd1fe9 100644
--- a/binutils/TODO
+++ b/binutils/TODO
@@ -1,5 +1,3 @@
-o 'nm -a' should print stab code names.
-
OLD:
o - merge:
diff --git a/binutils/m68k-pinsn.c b/binutils/m68k-pinsn.c
index 60350d4..139a663 100644
--- a/binutils/m68k-pinsn.c
+++ b/binutils/m68k-pinsn.c
@@ -20,14 +20,25 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* $Id$
$Log$
- Revision 1.4 1991/10/16 18:56:56 bothner
- * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
- i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
- * strip.c: Add or update Copyright notice.
- * TODO: Add note on 'nm -a'.
- * version.c: Update version number to 1.90.
- * Makefile.in: Fix making of documentation for dist.
-
+ Revision 1.5 1991/11/03 22:58:44 bothner
+ * Makefile.in ($(DIST_NAME).tar.Z), TODO: Various fixes.
+ * ar.c (get_pos_bfd): Fix to handling of before/after
+ positioning options.
+ * bucomm.c (fatal): MISSING_VFPRINTF is no longer an issue,
+ since libiberty contains vfprintf etc if otherwise missing.
+ * m68k-pinsn.c (print_insn_arg): Support BB/BW/BL
+ type operands, as used by branch instructions.
+ * nm.c: Delegate printing of symbols to BFD,
+ by using bfd_print_symbol to do the formatting.
+
+ * Revision 1.4 1991/10/16 18:56:56 bothner
+ * * Makefile.in, ar.c, bucomm.c, copy.c, cplus-dem.c, filemode.c,
+ * i960-pinsn.c, m68k-pinsn.c, nm.c, objdump.c, size.c, sparc-pinsn.c,
+ * * strip.c: Add or update Copyright notice.
+ * * TODO: Add note on 'nm -a'.
+ * * version.c: Update version number to 1.90.
+ * * Makefile.in: Fix making of documentation for dist.
+ *
* Revision 1.3 1991/10/11 11:22:00 gnu
* Include bfd.h before sysdep.h, so ansidecl and PROTO() get defined first.
*
@@ -354,9 +365,11 @@ print_insn_arg (d, buffer, p, addr, stream)
case 'B':
if (place == 'b')
val = NEXTBYTE (p);
- else if (place == 'w')
+ else if (place == 'B')
+ val = buffer[1];
+ else if (place == 'w' || place == 'W')
val = NEXTWORD (p);
- else if (place == 'l')
+ else if (place == 'l' || place == 'L')
val = NEXTLONG (p);
else if (place == 'g')
{