aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/s390-tdep.c20
-rw-r--r--gdb/s390-tdep.h4
3 files changed, 18 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4d54626..df614ec 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2011-12-07 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * s390-tdep.c: Replace "Linux" by "GNU/Linux" in comments
+ where appropriate.
+ * s390-tdep.h: Likewise.
+
2011-12-07 Tristan Gingold <gingold@adacore.com>
* machoread.c (macho_symtab_read): Do not consider N_OPT as
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index d5bc1b1..1c09739 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -170,7 +170,7 @@ static int s390_dwarf_regmap[] =
S390_R8_REGNUM, S390_R9_REGNUM, S390_R10_REGNUM, S390_R11_REGNUM,
S390_R12_REGNUM, S390_R13_REGNUM, S390_R14_REGNUM, S390_R15_REGNUM,
- /* Linux-specific registers (not mapped). */
+ /* GNU/Linux-specific registers (not mapped). */
-1, -1, -1,
};
@@ -426,7 +426,7 @@ int s390_regmap_gregset[S390_NUM_REGS] =
/* GPR Uppper Halves. */
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
- /* Linux-specific optional "registers". */
+ /* GNU/Linux-specific optional "registers". */
0x88, -1, -1,
};
@@ -454,7 +454,7 @@ int s390x_regmap_gregset[S390_NUM_REGS] =
0x30, 0x38, 0x40, 0x48,
0x50, 0x58, 0x60, 0x68,
0x70, 0x78, 0x80, 0x88,
- /* Linux-specific optional "registers". */
+ /* GNU/Linux-specific optional "registers". */
0xd0, -1, -1,
};
@@ -478,7 +478,7 @@ int s390_regmap_fpregset[S390_NUM_REGS] =
/* GPR Uppper Halves. */
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
- /* Linux-specific optional "registers". */
+ /* GNU/Linux-specific optional "registers". */
-1, -1, -1,
};
@@ -502,7 +502,7 @@ int s390_regmap_upper[S390_NUM_REGS] =
0x10, 0x14, 0x18, 0x1c,
0x20, 0x24, 0x28, 0x2c,
0x30, 0x34, 0x38, 0x3c,
- /* Linux-specific optional "registers". */
+ /* GNU/Linux-specific optional "registers". */
-1, -1, -1,
};
@@ -524,7 +524,7 @@ int s390_regmap_last_break[S390_NUM_REGS] =
/* GPR Uppper Halves. */
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
- /* Linux-specific optional "registers". */
+ /* GNU/Linux-specific optional "registers". */
-1, 4, -1,
};
@@ -546,7 +546,7 @@ int s390x_regmap_last_break[S390_NUM_REGS] =
/* GPR Uppper Halves. */
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
- /* Linux-specific optional "registers". */
+ /* GNU/Linux-specific optional "registers". */
-1, 0, -1,
};
@@ -568,7 +568,7 @@ int s390_regmap_system_call[S390_NUM_REGS] =
/* GPR Uppper Halves. */
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
- /* Linux-specific optional "registers". */
+ /* GNU/Linux-specific optional "registers". */
-1, -1, 0,
};
@@ -3068,7 +3068,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
valid_p &= tdesc_numbered_register (feature, tdesc_data,
S390_A0_REGNUM + i, acrs[i]);
- /* Optional Linux-specific "registers". */
+ /* Optional GNU/Linux-specific "registers". */
feature = tdesc_find_feature (tdesc, "org.gnu.gdb.s390.linux");
if (feature)
{
@@ -3290,7 +3290,7 @@ _initialize_s390_tdep (void)
/* Hook us into the gdbarch mechanism. */
register_gdbarch_init (bfd_arch_s390, s390_gdbarch_init);
- /* Initialize the Linux target descriptions. */
+ /* Initialize the GNU/Linux target descriptions. */
initialize_tdesc_s390_linux32 ();
initialize_tdesc_s390_linux32v1 ();
initialize_tdesc_s390_linux32v2 ();
diff --git a/gdb/s390-tdep.h b/gdb/s390-tdep.h
index 37dbfa3..323dc69 100644
--- a/gdb/s390-tdep.h
+++ b/gdb/s390-tdep.h
@@ -95,7 +95,7 @@
#define S390_R13_UPPER_REGNUM 64
#define S390_R14_UPPER_REGNUM 65
#define S390_R15_UPPER_REGNUM 66
-/* Linux-specific optional registers. */
+/* GNU/Linux-specific optional registers. */
#define S390_ORIG_R2_REGNUM 67
#define S390_LAST_BREAK_REGNUM 68
#define S390_SYSTEM_CALL_REGNUM 69
@@ -118,7 +118,7 @@ extern int s390_regmap_last_break[S390_NUM_REGS];
extern int s390x_regmap_last_break[S390_NUM_REGS];
extern int s390_regmap_system_call[S390_NUM_REGS];
-/* Linux target descriptions. */
+/* GNU/Linux target descriptions. */
extern struct target_desc *tdesc_s390_linux32;
extern struct target_desc *tdesc_s390_linux32v1;
extern struct target_desc *tdesc_s390_linux32v2;