aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-12-28 18:45:46 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-12-28 18:45:46 +0000
commit1668ae250037d334facd1c7c5ea8265cfb8ee690 (patch)
tree8e99d1551079a3d19964e1e20d139cd585286dd3
parent1417b39dadee316f2e52849c4cc4bc7d347b68ee (diff)
downloadfsf-binutils-gdb-1668ae250037d334facd1c7c5ea8265cfb8ee690.zip
fsf-binutils-gdb-1668ae250037d334facd1c7c5ea8265cfb8ee690.tar.gz
fsf-binutils-gdb-1668ae250037d334facd1c7c5ea8265cfb8ee690.tar.bz2
gdb/
* gdbarch.sh (max_insn_length): Extend the comment by unit. * gdbarch.h: Regenerate.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbarch.h2
-rwxr-xr-xgdb/gdbarch.sh2
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 <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
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