Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • debug
  • debug_core.c
Find file BlameHistoryPermalink
  • Vincent Chen's avatar
    kgdb: Add kgdb_has_hit_break function · f83b04d3
    Vincent Chen authored Apr 16, 2020
    
    
    The break instruction in RISC-V does not have an immediate value field, so
    the kernel cannot identify the purpose of each trap exception through the
    opcode. This makes the existing identification schemes in other
    architecture unsuitable for the RISC-V kernel. To solve this problem, this
    patch adds kgdb_has_hit_break(), which can help RISC-V kernel identify
    the KGDB trap exception.
    
    Signed-off-by: default avatarVincent Chen <vincent.chen@sifive.com>
    Reviewed-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
    Acked-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
    Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
    f83b04d3
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7