Remove stale references to Cell BE
authorLuis Machado <luis.machado@linaro.org>
Mon, 30 Dec 2019 18:47:10 +0000 (15:47 -0300)
committerLuis Machado <luis.machado@linaro.org>
Fri, 3 Jan 2020 02:15:42 +0000 (23:15 -0300)
While reading some code i noticed we're still referencing Cell BE in a couple
parts. This patch removes those.

v2: Update comment in gdb/target.h.

gdb/ChangeLog:

2020-01-02  Luis Machado  <luis.machado@linaro.org>

* proc-service.c (get_ps_regcache): Remove reference to obsolete
Cell BE architecture.
* target.h (struct target_ops) <thread_architecture>: Likewise.

Change-Id: I7a9ccc603b00db22a6275bc5ab69e1417148cb72

gdb/ChangeLog
gdb/proc-service.c
gdb/target.h

index 5edb1c4dc38d57b43b4ffa9ad6dfceb6eb67993f..c9999315d964160a966364652b294cbf5cd46a7b 100644 (file)
@@ -1,3 +1,9 @@
+2020-01-02  Luis Machado  <luis.machado@linaro.org>
+
+       * proc-service.c (get_ps_regcache): Remove reference to obsolete
+       Cell BE architecture.
+       * target.h (struct target_ops) <thread_architecture>: Likewise.
+
 2020-01-01  Hannes Domani  <ssbssa@yahoo.de>
 
        * Makefile.in: Use INSTALL_PROGRAM_ENV.
index 86b3f057dbb384a8fa78c0d85b3dc030cdfd4c55..7593ffe389e5d43e812249f0f06daeec10279df9 100644 (file)
@@ -129,10 +129,7 @@ ps_pdwrite (struct ps_prochandle *ph, psaddr_t addr,
 /* Get a regcache for LWPID using its inferior's "main" architecture,
    which is the register set libthread_db expects to be using.  In
    multi-arch debugging scenarios, the thread's architecture may
-   differ from the inferior's "main" architecture.  E.g., in the Cell
-   combined debugger, if GDB happens to interrupt SPU code, the
-   thread's architecture is SPU, and the main architecture is
-   PowerPC.  */
+   differ from the inferior's "main" architecture.  */
 
 static struct regcache *
 get_ps_regcache (struct ps_prochandle *ph, lwpid_t lwpid)
index 8e51516feab60e831652107a831bab3250760c74..a8e551ce697f44cbd6511795e46564337ceaffb1 100644 (file)
@@ -878,11 +878,10 @@ struct target_ops
     /* Determine current architecture of thread PTID.
 
        The target is supposed to determine the architecture of the code where
-       the target is currently stopped at (on Cell, if a target is in spu_run,
-       to_thread_architecture would return SPU, otherwise PPC32 or PPC64).
-       This is architecture used to perform decr_pc_after_break adjustment,
-       and also determines the frame architecture of the innermost frame.
-       ptrace operations need to operate according to target_gdbarch ().  */
+       the target is currently stopped at.  The architecture information is
+       used to perform decr_pc_after_break adjustment, and also to determine
+       the frame architecture of the innermost frame.  ptrace operations need to
+       operate according to target_gdbarch ().  */
     virtual struct gdbarch *thread_architecture (ptid_t)
       TARGET_DEFAULT_RETURN (NULL);
 
This page took 0.028827 seconds and 4 git commands to generate.