This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Fix typo in od-macho.c


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=60cb2c8a331ed8e4ad20afc51f9cdb3d8d18a869

commit 60cb2c8a331ed8e4ad20afc51f9cdb3d8d18a869
Author: Alan Modra <amodra@gmail.com>
Date:   Wed May 9 20:35:43 2018 +0930

    Fix typo in od-macho.c
    
    	PR 22069
    	* od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.

Diff:
---
 binutils/ChangeLog  | 4 ++++
 binutils/od-macho.c | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 4cc4cba..26601b9 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-09  Alan Modra  <amodra@gmail.com>
+
+	* od-macho.c (dump_unwind_encoding_x86): Fix typo in last patch.
+
 2018-05-09  Sebastian Rasmussen  <sebras@gmail.com>
 
 	* od-macho.c (dump_unwind_encoding_x86): Adjust for macro renaming.
diff --git a/binutils/od-macho.c b/binutils/od-macho.c
index b0c39b3..8153ada 100644
--- a/binutils/od-macho.c
+++ b/binutils/od-macho.c
@@ -1688,7 +1688,7 @@ dump_unwind_encoding_x86 (unsigned int encoding, unsigned int sz,
 	unsigned int regs;
 	char pfx = sz == 8 ? 'R' : 'E';
 
-	regs = encoding & MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS
+	regs = encoding & MACH_O_UNWIND_X86_64_RBP_FRAME_REGISTERS;
 	printf (" %cSP frame", pfx);
 	if (regs != 0)
 	  {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]