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 /sim | |
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 'sim')
0 files changed, 0 insertions, 0 deletions