diff options
author | Pedro Alves <palves@redhat.com> | 2012-03-13 13:30:42 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-03-13 13:30:42 +0000 |
commit | 44f238bb633edb3694f64cb6d3b60c510b2fb714 (patch) | |
tree | 2ee05ab5b352806836dcec688cbe1eb51a0317ab /gdb/python | |
parent | 1e51243a97c3b50ae80b54b4d3d54720e36ba0dc (diff) | |
download | gdb-44f238bb633edb3694f64cb6d3b60c510b2fb714.zip gdb-44f238bb633edb3694f64cb6d3b60c510b2fb714.tar.gz gdb-44f238bb633edb3694f64cb6d3b60c510b2fb714.tar.bz2 |
2012-03-13 Hui Zhu <teawater@gmail.com>
Pedro Alves <palves@redhat.com>
* breakpoint.c (init_breakpoint_sal): New flags parameter. Handle
CREATE_BREAKPOINT_FLAGS_INSERTED.
(create_breakpoint_sal, create_breakpoints_sal)
(base_breakpoint_create_breakpoints_sal)
(tracepoint_create_breakpoints_sal)
(strace_marker_create_breakpoints_sal): New flags parameter. Pass
down.
(break_command_1, handle_gnu_v3_exceptions, trace_command)
(ftrace_command, strace_command): Adjust.
(create_tracepoint_from_upload): Pass
CREATE_BREAKPOINT_FLAGS_INSERTED.
* breakpoint.h (enum breakpoint_create_flags): New.
(create_breakpoint): New flags parameter.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust.
* python/py-breakpoint.c (bppy_init): Adjust.
* python/py-finishbreakpoint.c (bpfinishpy_init): Adjust.
* spu-tdep.c (spu_catch_start): Adjust.
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-breakpoint.c | 2 | ||||
-rw-r--r-- | gdb/python/py-finishbreakpoint.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/python/py-breakpoint.c b/gdb/python/py-breakpoint.c index c13fb95..b2c625f 100644 --- a/gdb/python/py-breakpoint.c +++ b/gdb/python/py-breakpoint.c @@ -628,7 +628,7 @@ bppy_init (PyObject *self, PyObject *args, PyObject *kwargs) 0, AUTO_BOOLEAN_TRUE, &bkpt_breakpoint_ops, - 0, 1, internal_bp); + 0, 1, internal_bp, 0); break; } case bp_watchpoint: diff --git a/gdb/python/py-finishbreakpoint.c b/gdb/python/py-finishbreakpoint.c index bfbf9c3..b67b163 100644 --- a/gdb/python/py-finishbreakpoint.c +++ b/gdb/python/py-finishbreakpoint.c @@ -288,7 +288,7 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs) 0, AUTO_BOOLEAN_TRUE, &bkpt_breakpoint_ops, - 0, 1, internal_bp); + 0, 1, internal_bp, 0); } GDB_PY_SET_HANDLE_EXCEPTION (except); |