summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/alpha-nat.c2
-rw-r--r--gdb/arm-tdep.h7
-rw-r--r--gdb/blockframe.c6
-rw-r--r--gdb/hppa-tdep.h7
-rw-r--r--gdb/m68hc11-tdep.c7
-rw-r--r--gdb/mips-tdep.h7
7 files changed, 17 insertions, 28 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7827d9dffbc..2bf889d1ff1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
+ * blockframe.c: Remove obsolete comments.
+ * alpha-nat.c (fetch_osf_core_registers): Update comment.
+ * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
+ * hppa-tdep.h (enum hppa_regnum): Likewise.
+ * mips-tdep.h: Likewise.
+ * m68hc11-tdep.c: Likewise.
+
+2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
+
* inferior.h (read_sp): Remove prototype.
* regcache.c (read_sp): Remove.
* gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c
index caeada3deb9..b6e3e0e089d 100644
--- a/gdb/alpha-nat.c
+++ b/gdb/alpha-nat.c
@@ -34,7 +34,7 @@
/* Extract the register values out of the core file and store
- them where `read_register' will find them.
+ them into REGCACHE.
CORE_REG_SECT points to the register values themselves, read into memory.
CORE_REG_SIZE is the size of that area.
diff --git a/gdb/arm-tdep.h b/gdb/arm-tdep.h
index e49bc43b6c3..6cc6b0e159e 100644
--- a/gdb/arm-tdep.h
+++ b/gdb/arm-tdep.h
@@ -25,12 +25,7 @@
struct gdbarch;
struct regset;
-/* Register numbers of various important registers. Note that some of
- these values are "real" register numbers, and correspond to the
- general registers of the machine, and some are "phony" register
- numbers which are too large to be actual register numbers as far as
- the user is concerned but do serve to get the desired values when
- passed to read_register. */
+/* Register numbers of various important registers. */
enum gdb_regnum {
ARM_A1_REGNUM = 0, /* first integer-like argument */
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 781a51402a6..794a5f4b050 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -28,9 +28,9 @@
#include "objfiles.h"
#include "frame.h"
#include "gdbcore.h"
-#include "value.h" /* for read_register */
-#include "target.h" /* for target_has_stack */
-#include "inferior.h" /* for read_pc */
+#include "value.h"
+#include "target.h"
+#include "inferior.h"
#include "annotate.h"
#include "regcache.h"
#include "gdb_assert.h"
diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h
index dac1e6ac99e..25fd2f333e1 100644
--- a/gdb/hppa-tdep.h
+++ b/gdb/hppa-tdep.h
@@ -26,12 +26,7 @@ struct trad_frame_saved_reg;
struct objfile;
struct so_list;
-/* Register numbers of various important registers.
- Note that some of these values are "real" register numbers,
- and correspond to the general registers of the machine,
- and some are "phony" register numbers which are too large
- to be actual register numbers as far as the user is concerned
- but do serve to get the desired values when passed to read_register. */
+/* Register numbers of various important registers. */
enum hppa_regnum
{
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index 42c4a25ca84..d4fff893525 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -81,12 +81,7 @@ enum insn_return_kind {
};
-/* Register numbers of various important registers.
- Note that some of these values are "real" register numbers,
- and correspond to the general registers of the machine,
- and some are "phony" register numbers which are too large
- to be actual register numbers as far as the user is concerned
- but do serve to get the desired values when passed to read_register. */
+/* Register numbers of various important registers. */
#define HARD_X_REGNUM 0
#define HARD_D_REGNUM 1
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h
index bbabdc15fc2..11f6c85bea7 100644
--- a/gdb/mips-tdep.h
+++ b/gdb/mips-tdep.h
@@ -58,12 +58,7 @@ struct mips_regnum
};
extern const struct mips_regnum *mips_regnum (struct gdbarch *gdbarch);
-/* Register numbers of various important registers. Note that some of
- these values are "real" register numbers, and correspond to the
- general registers of the machine, and some are "phony" register
- numbers which are too large to be actual register numbers as far as
- the user is concerned but do serve to get the desired values when
- passed to read_register. */
+/* Register numbers of various important registers. */
enum
{