diff options
author | Phil Muldoon <pmuldoon@redhat.com> | 2010-04-09 09:41:43 +0000 |
---|---|---|
committer | Phil Muldoon <pmuldoon@redhat.com> | 2010-04-09 09:41:43 +0000 |
commit | adc368187c7bc29c3c227cf986dd021973ce6eaf (patch) | |
tree | c01aaab1fc72d2ea058c1be7c717317312a38b81 /gdb/breakpoint.h | |
parent | e760a81b7959d2d3474f12622be217ff218f5e06 (diff) | |
download | gdb-adc368187c7bc29c3c227cf986dd021973ce6eaf.zip gdb-adc368187c7bc29c3c227cf986dd021973ce6eaf.tar.gz gdb-adc368187c7bc29c3c227cf986dd021973ce6eaf.tar.bz2 |
2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
Tom Tromey <tromey@redhat.com>
* breakpoint.c (condition_command): Simplify. Move condition
setting code to ...
(set_breakpoint_condition): ... here. New function.
* breakpoint.h (set_breakpoint_condition): Declare.
* Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpoint.
(SUBDIR_PYTHON_SRCS): Likewise.
(py-breakpoint.o): New rule.
* python/py-breakpoint.c: New file.
* python/python-internal.h (gdbpy_breakpoints)
(gdbpy_initialize_breakpoints): Declare.
(GDB_PY_SET_HANDLE_EXCEPTION) Define.
2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
* gdb.python/py-breakpoint.exp: New File.
* gdb.python/py-breakpoint.C: Ditto.
2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
Thiago Jung Bauermann <bauerman@br.ibm.com>
Tom Tromey <tromey@redhat.com>
* gdb.texinfo (Breakpoints In Python): New Node.
Diffstat (limited to 'gdb/breakpoint.h')
-rw-r--r-- | gdb/breakpoint.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/breakpoint.h b/gdb/breakpoint.h index 912cc3c..9963827 100644 --- a/gdb/breakpoint.h +++ b/gdb/breakpoint.h @@ -1005,6 +1005,10 @@ extern int breakpoints_always_inserted_mode (void); in our opinion won't ever trigger. */ extern void breakpoint_retire_moribund (void); +/* Set break condition of breakpoint B to EXP. */ +extern void set_breakpoint_condition (struct breakpoint *b, char *exp, + int from_tty); + /* Checks if we are catching syscalls or not. Returns 0 if not, greater than 0 if we are. */ extern int catch_syscall_enabled (void); |