)]}'
{
  "commit": "8e8ff02c0b61d9b7c15c7996a2eddbedf51a105b",
  "tree": "dde7fcedee5d8720f5cc95da5ed4629fd3369bc8",
  "parents": [
    "efe87d2b822e42975b4da958c9d321cf89bfeb5a"
  ],
  "author": {
    "name": "Hirokazu Takata",
    "email": "takata@linux-m32r.org",
    "time": "Tue Apr 18 22:21:20 2006 -0700"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@g5.osdl.org",
    "time": "Wed Apr 19 09:13:50 2006 -0700"
  },
  "message": "[PATCH] m32r: Fix pt_regs for !COFNIG_ISA_DSP_LEVEL2 target\n\nThis modification is required to fix debugging function for m32r targets\nwith !CONFIG_ISA_DSP_LEVEL2, by unifying \u0027struct pt_regs\u0027 and \u0027struct\nsigcontext\u0027 size for all M32R ISA.\n\nSome m32r processor core with !CONFIG_ISA_DSP_LEVEL2 configuration has only\nsingle accumulator a0 (ex.  VDEC2 core, M32102 core, etc.), the others with\nCONFIG_ISA_DSP_LEVEL2 has two accumulators, a0 and a1.\n\nThis means there are two variations of thread context.  So far, we reduced\nand changed stackframe size at a syscall for their context size.  However,\nthis causes a problem that a GDB for processors with CONFIG_ISA_DSP_LEVEL2\ncannot be used for processors with !CONFIG_ISA_DSP_LEVEL2.\n\nFrom the viewpoint of GDB support, we should reduce such variation of\nstackframe size for simplicity.\n\nIn this patch, dummy members are added to \u0027struct pt_regs\u0027 and \u0027struct\nsigcontext\u0027 to adjust their size for !CONFIG_ISA_DSP_LEVEL2.\n\nThis modification is also a one step for a GDB update in future.\nCurrently, on the m32r, GDB can access process\u0027s context by using ptrace\nfunctions in a simple way of register by register access.  By unifying\nstackframe size, we have a possibility to make use of ptrace functions of\nnot only a single register access but also block register access,\nPTRACE_{GETREGS,PUTREGS}.\n\nHowever, for this purpose, we might have to modify stackframe structure\nsome more; for example, PSW (processor status word) register should be\npre-processed before pushing to stack at a syscall, and so on.  In this\ncase, we must update carefully both kernel and GDB at a time...\n\nSigned-off-by: Hayato Fujiwara \u003cfujiwara@linux-m32r.org\u003e\nSigned-off-by: Hirokazu Takata \u003ctakata@linux-m32r.org\u003e\nCc: Kei Sakamoto \u003cksakamot@linux-m32r.org\u003e\nSigned-off-by: Andrew Morton \u003cakpm@osdl.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@osdl.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3871b65f0c827966eede1b0cac8d1d07464198ff",
      "old_mode": 33188,
      "old_path": "arch/m32r/kernel/entry.S",
      "new_id": "5e4a0c8a5d3c976729b68de3d527e20c4f6ef2f8",
      "new_mode": 33188,
      "new_path": "arch/m32r/kernel/entry.S"
    },
    {
      "type": "modify",
      "old_id": "cb33097fefc4453475451d31443b2e380b97f0d5",
      "old_mode": 33188,
      "old_path": "arch/m32r/kernel/signal.c",
      "new_id": "6498ee70bb738d4c6aedf927b2b45d7de17215fe",
      "new_mode": 33188,
      "new_path": "arch/m32r/kernel/signal.c"
    },
    {
      "type": "modify",
      "old_id": "b7f4d8aaeb469b0409103dd8057e3b6f80c2cc8f",
      "old_mode": 33188,
      "old_path": "include/asm-m32r/assembler.h",
      "new_id": "1a1aa17edd33fe737d1035676d756421b93a1fe8",
      "new_mode": 33188,
      "new_path": "include/asm-m32r/assembler.h"
    },
    {
      "type": "modify",
      "old_id": "0d058b2d844e468ac6d6ac448a553dfa1d752528",
      "old_mode": 33188,
      "old_path": "include/asm-m32r/ptrace.h",
      "new_id": "53c792452dfc0c036538230f69fce24406d119f9",
      "new_mode": 33188,
      "new_path": "include/asm-m32r/ptrace.h"
    },
    {
      "type": "modify",
      "old_id": "c233e2def2a3d198fd881c7e5f2e153b8763a0a3",
      "old_mode": 33188,
      "old_path": "include/asm-m32r/sigcontext.h",
      "new_id": "942b8a30937df79deb9ac1dc76bb8cd27862afd9",
      "new_mode": 33188,
      "new_path": "include/asm-m32r/sigcontext.h"
    }
  ]
}
