diff options
author | Alan Hayward <alan.hayward@arm.com> | 2019-08-21 15:24:02 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2019-09-02 13:58:48 +0100 |
commit | fe01123efb30a273645dc194ae2100197f93a00a (patch) | |
tree | 517d24874f46e34adf2c554f39e2a60a27c29efc /gdb/ChangeLog | |
parent | e661ef01e50a2cb38c006b0fe444a1b41bfc9400 (diff) | |
download | gdb-fe01123efb30a273645dc194ae2100197f93a00a.zip gdb-fe01123efb30a273645dc194ae2100197f93a00a.tar.gz gdb-fe01123efb30a273645dc194ae2100197f93a00a.tar.bz2 |
Use gdbarch for probe::get_argument_count
The probe function get_argument_count does not need a frame, only
the current gdbarch. Switch the code to pass gdbarch instead.
No functional changes.
gdb/ChangeLog:
* break-catch-throw.c (fetch_probe_arguments): Use gdbarch.
* dtrace-probe.c (dtrace_probe::get_argument_count): Likewise.
* probe.c (probe_safe_evaluate_at_pc) (compute_probe_arg)
(compile_probe_arg): Likewise.
* probe.h (get_argument_count): Likewise.
* solib-svr4.c (solib_event_probe_action): Likewise.
* stap-probe.c (stap_probe::get_argument_count): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e35ff66..d0e4258 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2019-09-02 Alan Hayward <alan.hayward@arm.com> + * break-catch-throw.c (fetch_probe_arguments): Use gdbarch. + * dtrace-probe.c (dtrace_probe::get_argument_count): Likewise. + * probe.c (probe_safe_evaluate_at_pc) (compute_probe_arg) + (compile_probe_arg): Likewise. + * probe.h (get_argument_count): Likewise. + * solib-svr4.c (solib_event_probe_action): Likewise. + * stap-probe.c (stap_probe::get_argument_count): Likewise. + +2019-09-02 Alan Hayward <alan.hayward@arm.com> + * solib-svr4.c (svr4_find_and_create_probe_breakpoints): Move code to here... (svr4_create_solib_event_breakpoints): ...from here. |