From ed908db649cd48452fa4c1476a6be437ce9a0126 Mon Sep 17 00:00:00 2001 From: Victor Collod Date: Tue, 23 Jun 2020 18:28:56 -0700 Subject: [PATCH] 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 --- gdb/ChangeLog | 4 ++++ gdb/amd64-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2