[obv] gdbarch.sh: max_insn_length: comment: add unit

Jan Kratochvil jan.kratochvil@redhat.com
Wed Dec 28 20:10:00 GMT 2011


Hi,

Joel requested to add the unit there and gdbarch.sh is no longer a part of
that patch so checked it in separately.


Regards,
Jan


http://sourceware.org/ml/gdb-cvs/2011-12/msg00256.html

--- src/gdb/ChangeLog	2011/12/28 07:05:16	1.13673
+++ src/gdb/ChangeLog	2011/12/28 18:45:45	1.13674
@@ -1,3 +1,8 @@
+2011-12-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+	* gdbarch.sh (max_insn_length): Extend the comment by unit.
+	* gdbarch.h: Regenerate.
+
 2011-12-28  Joel Brobecker  <brobecker@adacore.com>
 
 	* varobj.c (varobj_update): Minor reformatting, putting the function
--- src/gdb/gdbarch.h	2011/10/26 21:23:55	1.428
+++ src/gdb/gdbarch.h	2011/12/28 18:45:46	1.429
@@ -754,7 +754,7 @@
 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);
 
--- src/gdb/gdbarch.sh	2011/10/26 18:21:38	1.526
+++ src/gdb/gdbarch.sh	2011/12/28 18:45:46	1.527
@@ -654,7 +654,7 @@
 # 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



More information about the Gdb-patches mailing list