commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Mach branch, master, updated. f34cc6d5a8bad7a6c34f30917c3f137c


From: Samuel Thibault
Subject: [SCM] GNU Mach branch, master, updated. f34cc6d5a8bad7a6c34f30917c3f137c886d29bf
Date: Mon, 04 Feb 2013 12:47:28 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Mach".

The branch, master has been updated
       via  f34cc6d5a8bad7a6c34f30917c3f137c886d29bf (commit)
       via  39376ba840a8682082eee9175b6951d4a7ae41f2 (commit)
       via  43042e6f6cc483b22694619861eab183364f08f5 (commit)
       via  d14e4924c55e3016d1ddf7a38a7e93460ca10ac8 (commit)
      from  51e87d005139a435cd846ac5c224eed5042c4fa0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f34cc6d5a8bad7a6c34f30917c3f137c886d29bf
Author: Samuel Thibault <address@hidden>
Date:   Mon Feb 4 11:56:51 2013 +0100

    Include machine/db_interface instead of hardcoding function prototypes
    
    * ddb/db_access.c: Include <machine/db_interface.h>.
    (db_read_bytes, db_write_bytes): Remove functions prototypes.
    (db_get_task_value): Fix calling db_read_bytes.
    (db_put_task_value): Fix calling db_write_bytes.
    * ddb/db_watch.c: Include <machine/db_interface.h>.
    (db_set_hw_watchpoint, db_clear_hw_watchpoint): Remove functions prototypes.

commit 39376ba840a8682082eee9175b6951d4a7ae41f2
Author: Samuel Thibault <address@hidden>
Date:   Mon Feb 4 11:43:17 2013 +0100

    Plug hw debug register support into kdb
    
    Make the `watch' command use hw debug registers whenever possible.
    
    * ddb/db_watch.c (db_set_hw_watchpoint, db_clear_hw_watchpoint): Add
    functions prototypes.
    (db_set_watchpoints): Try to call db_set_hw_watchpoint.
    (db_clear_watchpoints): Call db_clear_hw_watchpoint.
    * i386/i386/db_interface.c: Include <ddb/db_watch.h>
    (db_set_hw_watchpoint): Take a db_watchpoint_t WATCH parameter instead of
    its content. Remove support for clearing a debug register.
    (db_clear_hw_watchpoint): Add function.
    * i386/i386/db_interface.h: Include <ddb/db_watch.h>.
    (db_set_hw_watchpoint): Fix function prototype.
    (db_clear_hw_watchpoint): Add function prototype.
    * i386/i386/db_machdep.h: Do not include <machine/db_interface.h>

commit 43042e6f6cc483b22694619861eab183364f08f5
Author: Samuel Thibault <address@hidden>
Date:   Mon Feb 4 11:37:51 2013 +0100

    Document dwatch
    
    * doc/mach.texi: Add dwatch documentation.

commit d14e4924c55e3016d1ddf7a38a7e93460ca10ac8
Author: Samuel Thibault <address@hidden>
Date:   Mon Feb 4 10:38:16 2013 +0100

    Add x86 hardware debugging register support
    
    This adds using the x86 hardware debugging registers, either from the kernel
    through db_set_hw_watchpoint, or from userland through i386_DEBUG_STATE.
    While the kernel is using the registers, the userland values are ignored.
    
    * i386/i386/db_interface.c (kernel_dr, ids): New variables.
    (db_load_context, db_get_debug_state, db_set_debug_state, db_dr,
    db_set_hw_watchpoint): New functions.
    (kdb_trap): Use get_dr* instead of dr_addr[].
    * i386/i386/db_interface.h (db_user_to_kernel_address, db_set_hw_watchpoint)
    (db_dr, db_get_debug_state, db_set_debug_state, db_load_context): Add 
functions
    prototypes.
    (dr0, dr1, dr2, dr3): Remove functions prototypes.
    * i386/i386/locore.S (dr6, dr0, dr1, dr2, dr3): Remove functions.
    (dr_msk, dr_addr): Remove variables.
    * i386/include/mach/i386/thread_status.h (i386_DEBUG_STATE): Add macro.
    (i386_debug_state): Add structure.
    (i386_DEBUG_STATE_COUNT): Add macro.
    * i386/i386/thread.h: Include <mach/machine/thread_status.h>.
    (i386_machine_state): Add `struct i386_debug_state ids' field.
    * i386/i386/pcb.c: Include <i386/db_interface.h>.
    (switch_ktss): Call db_load_context.
    (thread_setstatus, thread_getstatus): Add I386_DEBUG_STATE case.
    * i386/i386/proc_reg.h (get_dr0, set_dr0, get_dr1, set_dr1, get_dr2,
    set_dr2, get_dr3, set_dr3, get_dr6, set_dr6, get_dr7, set_dr7): Add macros.

-----------------------------------------------------------------------

Summary of changes:
 ddb/db_access.c                        |    8 +-
 ddb/db_watch.c                         |   11 ++
 doc/mach.texi                          |    9 ++
 i386/i386/db_interface.c               |  163 ++++++++++++++++++++++++++++++--
 i386/i386/db_interface.h               |   33 ++++++-
 i386/i386/db_machdep.h                 |    1 -
 i386/i386/locore.S                     |  122 ------------------------
 i386/i386/pcb.c                        |   32 ++++++
 i386/i386/proc_reg.h                   |  126 ++++++++++++++++++++++++
 i386/i386/thread.h                     |    2 +
 i386/include/mach/i386/thread_status.h |    7 ++
 11 files changed, 373 insertions(+), 141 deletions(-)


hooks/post-receive
-- 
GNU Mach



reply via email to

[Prev in Thread] Current Thread [Next in Thread]