From 7157eed4324fedd80185646d58e92887e442f7a9 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sun, 13 May 2007 12:48:40 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 9 +++++++++ gdb/alpha-nat.c | 2 +- gdb/arm-tdep.h | 7 +------ gdb/blockframe.c | 6 +++--- gdb/hppa-tdep.h | 7 +------ gdb/m68hc11-tdep.c | 7 +------ gdb/mips-tdep.h | 7 +------ 7 files changed, 17 insertions(+), 28 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7827d9dffb..2bf889d1ff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2007-05-13 Ulrich Weigand + + * 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 * inferior.h (read_sp): Remove prototype. diff --git a/gdb/alpha-nat.c b/gdb/alpha-nat.c index caeada3deb..b6e3e0e089 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 e49bc43b6c..6cc6b0e159 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 781a51402a..794a5f4b05 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 dac1e6ac99..25fd2f333e 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 42c4a25ca8..d4fff89352 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 bbabdc15fc..11f6c85bea 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 {