diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 9a1fa19dfa..02bf7c77d2 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -2594,7 +2594,7 @@ extern int gdbarch_update_p (struct gdbarch_info info); The per-architecture data-pointer is either initialized explicitly (set_gdbarch_data()) or implicitly (by INIT() via a call to gdbarch_data()). FREE() is called to delete either an existing - data-poitner overridden by set_gdbarch_data() or when the + data-pointer overridden by set_gdbarch_data() or when the architecture object is being deleted. When a previously created architecture is re-selected, the diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index c95fa4b38c..abe50e9608 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -1085,7 +1085,7 @@ extern int gdbarch_update_p (struct gdbarch_info info); The per-architecture data-pointer is either initialized explicitly (set_gdbarch_data()) or implicitly (by INIT() via a call to gdbarch_data()). FREE() is called to delete either an existing - data-poitner overridden by set_gdbarch_data() or when the + data-pointer overridden by set_gdbarch_data() or when the architecture object is being deleted. When a previously created architecture is re-selected, the