From: Jan Kratochvil Date: Wed, 28 Dec 2011 18:45:46 +0000 (+0000) Subject: gdb/ X-Git-Tag: sid-snapshot-20120101~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1668ae250037d334facd1c7c5ea8265cfb8ee690;p=thirdparty%2Fbinutils-gdb.git gdb/ * gdbarch.sh (max_insn_length): Extend the comment by unit. * gdbarch.h: Regenerate. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bd94cf0f27d..40f6169ee0e 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 46c5afa3300..c257c6326e9 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 a9ca03dff7c..0c3344fedaa 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