From: Victor Collod Date: Wed, 24 Jun 2020 01:28:56 +0000 (-0700) Subject: amd64_analyze_prologue: fix incorrect comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed908db649cd48452fa4c1476a6be437ce9a0126;p=binutils-gdb.git amd64_analyze_prologue: fix incorrect comment The width of the instruction didn't match the size of its operands. 2020-06-23 Victor Collod * amd64-tdep.c (amd64_analyze_prologue): Fix incorrect comment. Change-Id: I104ebfe0b3c24bd6a8d0f0c5a791b9676a930a54 --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 01f3c9e7519..0dd7dcd29e9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-08-06 Victor Collod + + * amd64-tdep.c (amd64_analyze_prologue): Fix incorrect comment. + 2020-08-05 Kevin Buettner * corelow.c (core_target::build_file_mappings): Don't output diff --git a/gdb/amd64-tdep.c b/gdb/amd64-tdep.c index 0ce9fbc2997..768fe63bdde 100644 --- a/gdb/amd64-tdep.c +++ b/gdb/amd64-tdep.c @@ -2433,7 +2433,7 @@ amd64_analyze_prologue (struct gdbarch *gdbarch, return pc + 4; } - /* For X32, also check for `movq %esp, %ebp'. */ + /* For X32, also check for `movl %esp, %ebp'. */ if (gdbarch_ptr_bit (gdbarch) == 32) { if (memcmp (buf, mov_esp_ebp_1, 2) == 0