diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2008-09-03 13:39:56 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2008-09-03 13:39:56 +0000 |
commit | 514f746bdc40681c8a32ef8077adeae4f2098db2 (patch) | |
tree | 55d90a7ec4954e25b8bf969c68f6a63841f2820a /gdb/ChangeLog | |
parent | ee60f13c8b7d9ed38d7d5d63f8889277848ff675 (diff) | |
download | gdb-514f746bdc40681c8a32ef8077adeae4f2098db2.zip gdb-514f746bdc40681c8a32ef8077adeae4f2098db2.tar.gz gdb-514f746bdc40681c8a32ef8077adeae4f2098db2.tar.bz2 |
* breakpoint.c (breakpoint_init_inferior): Mark as not inserted only
non-permanent breakpoints.
(bpstat_stop_status): Change enable_state to bp_disabled only for
non-permanent breakpoints.
(bp_loc_is_permanent): New function.
(create_breakpoint): Check if the location points to a permanent
breakpoint and if it does, make breakpoint permanent.
(update_breakpoint_locations): Make sure new locations of permanent
breakpoints are properly initialized.
* i386-tdep.c (i386_skip_permanent_breakpoint): New function.
(i386_gdbarch_init): Set gdbarch_skip_permanent_breakpoint.
* gdb.arch/i386-bp_permanent.exp: New test.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b9bd42a..0aa1051 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +2008-09-03 Aleksandar Ristovski <aristovski@qnx.com> + + * breakpoint.c (breakpoint_init_inferior): Mark as not inserted only + non-permanent breakpoints. + (bpstat_stop_status): Change enable_state to bp_disabled only for + non-permanent breakpoints. + (bp_loc_is_permanent): New function. + (create_breakpoint): Check if the location points to a permanent + breakpoint and if it does, make breakpoint permanent. + (update_breakpoint_locations): Make sure new locations of permanent + breakpoints are properly initialized. + * i386-tdep.c (i386_skip_permanent_breakpoint): New function. + (i386_gdbarch_init): Set gdbarch_skip_permanent_breakpoint. + 2008-09-02 Pedro Alves <pedro@codesourcery.com> * breakpoint.c (insert_breakpoints, update_global_location_list): |