mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
Use phex debug_reg_change_callback
This patch is to use phex in debug_reg_change_callback to make it identical in GDB and GDBserver. gdb/gdbserver: 2015-08-25 Yao Qi <yao.qi@linaro.org> * linux-aarch64-low.c (debug_reg_change_callback): Use phex.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2015-08-25 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
|
* linux-aarch64-low.c (debug_reg_change_callback): Use phex.
|
||||||
|
|
||||||
2015-08-25 Yao Qi <yao.qi@linaro.org>
|
2015-08-25 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
* linux-aarch64-low.c (debug_reg_change_callback): Remove comments.
|
* linux-aarch64-low.c (debug_reg_change_callback): Remove comments.
|
||||||
|
@ -262,10 +262,10 @@ debug_reg_change_callback (struct lwp_info *lwp, void *ptr)
|
|||||||
if (show_debug_regs)
|
if (show_debug_regs)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "debug_reg_change_callback: \n\tOn entry:\n");
|
fprintf (stderr, "debug_reg_change_callback: \n\tOn entry:\n");
|
||||||
fprintf (stderr, "\tpid%d, dr_changed_bp=0x%llx, "
|
fprintf (stderr, "\tpid%d, dr_changed_bp=0x%s, "
|
||||||
"dr_changed_wp=0x%llx\n",
|
"dr_changed_wp=0x%s\n",
|
||||||
pid, info->dr_changed_bp,
|
pid, phex (info->dr_changed_bp, 8),
|
||||||
info->dr_changed_wp);
|
phex (info->dr_changed_wp, 8));
|
||||||
}
|
}
|
||||||
|
|
||||||
dr_changed_ptr = is_watchpoint ? &info->dr_changed_wp
|
dr_changed_ptr = is_watchpoint ? &info->dr_changed_wp
|
||||||
@ -288,10 +288,10 @@ debug_reg_change_callback (struct lwp_info *lwp, void *ptr)
|
|||||||
|
|
||||||
if (show_debug_regs)
|
if (show_debug_regs)
|
||||||
{
|
{
|
||||||
fprintf (stderr, "\tOn exit:\n\tpid%d, dr_changed_bp=0x%llx, "
|
fprintf (stderr, "\tOn exit:\n\tpid%d, dr_changed_bp=0x%s, "
|
||||||
"dr_changed_wp=0x%llx\n",
|
"dr_changed_wp=0x%s\n",
|
||||||
pid, info->dr_changed_bp,
|
pid, phex (info->dr_changed_bp, 8),
|
||||||
info->dr_changed_wp);
|
phex (info->dr_changed_wp, 8));
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user