diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-13 12:48:40 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-05-13 12:48:40 +0000 |
commit | 7157eed4324fedd80185646d58e92887e442f7a9 (patch) | |
tree | c908a8c2351407432ed6bb86bfe868230ea5d221 | |
parent | fb4443d8bc8dd6d4b9c9a8af474da79a65deb0be (diff) | |
download | gdb-7157eed4324fedd80185646d58e92887e442f7a9.zip gdb-7157eed4324fedd80185646d58e92887e442f7a9.tar.gz gdb-7157eed4324fedd80185646d58e92887e442f7a9.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/alpha-nat.c | 2 | ||||
-rw-r--r-- | gdb/arm-tdep.h | 7 | ||||
-rw-r--r-- | gdb/blockframe.c | 6 | ||||
-rw-r--r-- | gdb/hppa-tdep.h | 7 | ||||
-rw-r--r-- | gdb/m68hc11-tdep.c | 7 | ||||
-rw-r--r-- | gdb/mips-tdep.h | 7 |
7 files changed, 17 insertions, 28 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7827d9d..2bf889d 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 caeada3..b6e3e0e 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 e49bc43..6cc6b0e 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 781a514..794a5f4 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 dac1e6a..25fd2f3 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 42c4a25..d4fff89 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 bbabdc1..11f6c85 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 { |