From 1668ae250037d334facd1c7c5ea8265cfb8ee690 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 28 Dec 2011 18:45:46 +0000 Subject: [PATCH] gdb/ * gdbarch.sh (max_insn_length): Extend the comment by unit. * gdbarch.h: Regenerate. --- gdb/ChangeLog | 5 +++++ gdb/gdbarch.h | 2 +- gdb/gdbarch.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bd94cf0..40f6169 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-12-28 Jan Kratochvil + + * gdbarch.sh (max_insn_length): Extend the comment by unit. + * gdbarch.h: Regenerate. + 2011-12-28 Joel Brobecker * varobj.c (varobj_update): Minor reformatting, putting the function diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 46c5afa..c257c63 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -754,7 +754,7 @@ typedef void (gdbarch_skip_permanent_breakpoint_ftype) (struct regcache *regcach extern void gdbarch_skip_permanent_breakpoint (struct gdbarch *gdbarch, struct regcache *regcache); extern void set_gdbarch_skip_permanent_breakpoint (struct gdbarch *gdbarch, gdbarch_skip_permanent_breakpoint_ftype *skip_permanent_breakpoint); -/* The maximum length of an instruction on this architecture. */ +/* The maximum length of an instruction on this architecture in bytes. */ extern int gdbarch_max_insn_length_p (struct gdbarch *gdbarch); diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index a9ca03d..0c3344f 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -654,7 +654,7 @@ v:int:vbit_in_delta:::0:0::0 # Advance PC to next instruction in order to skip a permanent breakpoint. F:void:skip_permanent_breakpoint:struct regcache *regcache:regcache -# The maximum length of an instruction on this architecture. +# The maximum length of an instruction on this architecture in bytes. V:ULONGEST:max_insn_length:::0:0 # Copy the instruction at FROM to TO, and make any adjustments -- 2.7.4